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: JsSerializable,
[src]
T: JsSerializable,
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: JsSerializable,
[src]
T: JsSerializable,
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: JsSerializable,
[src]
T: JsSerializable,
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: JsSerializable,
[src]
T: JsSerializable,
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: JsSerializable,
[src]
T: JsSerializable,
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 Debug for Array
[src]
impl<V> From<Vec<V>> for Array where
V: JsSerializable,
[src]
V: JsSerializable,
impl<'a, V> From<&'a Vec<V>> for Array where
V: JsSerializable,
[src]
V: JsSerializable,
impl<'a, V> From<&'a mut Vec<V>> for Array where
V: JsSerializable,
[src]
V: JsSerializable,
impl<'a, V> From<&'a [V]> for Array where
V: JsSerializable,
[src]
V: JsSerializable,
impl<'a, V> From<&'a mut [V]> for Array where
V: JsSerializable,
[src]
V: JsSerializable,
fn from(value: &'a mut [V]) -> Self
[src]
Performs the conversion.