Struct stdweb::Array
[−]
[src]
pub struct Array(_);
A type representing a JavaScript array.
Methods
impl Array[src]
Trait Implementations
impl<T> TryFrom<Vec<T>> for Array where
T: JsSerialize, [src]
T: JsSerialize,
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: Vec<T>) -> Result<Self, Self::Error>[src]
Performs the conversion.
impl<'a, T> TryFrom<&'a Vec<T>> for Array where
T: JsSerialize, [src]
T: JsSerialize,
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a Vec<T>) -> Result<Self, Self::Error>[src]
Performs the conversion.
impl<'a, T> TryFrom<&'a mut Vec<T>> for Array where
T: JsSerialize, [src]
T: JsSerialize,
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a mut Vec<T>) -> Result<Self, Self::Error>[src]
Performs the conversion.
impl<'a, T> TryFrom<&'a [T]> for Array where
T: JsSerialize, [src]
T: JsSerialize,
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a [T]) -> Result<Self, Self::Error>[src]
Performs the conversion.
impl<'a, T> TryFrom<&'a mut [T]> for Array where
T: JsSerialize, [src]
T: JsSerialize,
type Error = Void
The type returned in the event of a conversion error.
fn try_from(source: &'a mut [T]) -> Result<Self, Self::Error>[src]
Performs the conversion.
impl Clone for Array[src]
fn clone(&self) -> Array[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for Array[src]
fn eq(&self, __arg_0: &Array) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Array) -> bool[src]
This method tests for !=.
impl Eq for Array[src]
impl Debug for Array[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl InstanceOf for Array[src]
fn instance_of(reference: &Reference) -> bool[src]
Checks whenever a given Reference if of type Self.
impl AsRef<Reference> for Array[src]
impl ReferenceType for Array[src]
unsafe fn from_reference_unchecked(reference: Reference) -> Self[src]
Converts a given reference into a concrete reference-like wrapper. Doesn't do any type checking; highly unsafe to use! Read more
impl From<Array> for Reference[src]
impl TryFrom<Array> for Reference[src]
type Error = Void
The type returned in the event of a conversion error.
fn try_from(value: Array) -> Result<Self, Self::Error>[src]
Performs the conversion.
impl TryFrom<Reference> for Array[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(reference: Reference) -> Result<Self, Self::Error>[src]
Performs the conversion.
impl<'_r> TryFrom<&'_r Reference> for Array[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(reference: &Reference) -> Result<Self, Self::Error>[src]
Performs the conversion.
impl TryFrom<Value> for Array[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: Value) -> Result<Self, Self::Error>[src]
Performs the conversion.
impl<'_r> TryFrom<&'_r Value> for Array[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(value: &Value) -> Result<Self, Self::Error>[src]
Performs the conversion.
impl JsSerialize for Array[src]
impl From<Array> for Vec<Value>[src]
impl<'a> From<&'a Array> for Vec<Value>[src]
impl<'a> From<&'a mut Array> for Vec<Value>[src]
impl<V> From<Vec<V>> for Array where
V: JsSerialize, [src]
V: JsSerialize,
impl<'a, V> From<&'a Vec<V>> for Array where
V: JsSerialize, [src]
V: JsSerialize,
impl<'a, V> From<&'a mut Vec<V>> for Array where
V: JsSerialize, [src]
V: JsSerialize,
impl<'a, V> From<&'a [V]> for Array where
V: JsSerialize, [src]
V: JsSerialize,
impl<'a, V> From<&'a mut [V]> for Array where
V: JsSerialize, [src]
V: JsSerialize,
fn from(value: &'a mut [V]) -> Self[src]
Performs the conversion.