[−][src]Struct rquickjs::MultiValue
An list of Js values.
Handed to callbacks as arguments.
Methods
impl<'js> MultiValue<'js>
[src]
pub fn len(&self) -> usize
[src]
Returns the number of js values this multi value contains.
pub fn is_empty(&self) -> bool
[src]
Returns wether there are no js values in multi value container.
pub fn into_vec(self) -> Vec<Value<'js>>
[src]
Returns a vector containing all the js values.
pub fn iter(&mut self) -> ValueIter<'js>
[src]
Returns a interator over the js values.
Trait Implementations
impl<'js> Clone for MultiValue<'js>
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'js> Drop for MultiValue<'js>
[src]
impl<'js> FromJsMulti<'js> for MultiValue<'js>
[src]
fn from_js_multi(_: Ctx<'js>, value: MultiValue<'js>) -> Result<Self>
[src]
fn len() -> i64
[src]
Auto Trait Implementations
impl<'js> !RefUnwindSafe for MultiValue<'js>
impl<'js> !Send for MultiValue<'js>
impl<'js> !Sync for MultiValue<'js>
impl<'js> Unpin for MultiValue<'js>
impl<'js> UnwindSafe for MultiValue<'js>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,