pub struct NativeScriptList(/* private fields */);
Implementations§
Source§impl NativeScriptList
impl NativeScriptList
pub fn add(&mut self, elem: &NativeScript)
Trait Implementations§
Source§impl AsRef<[NativeScript]> for NativeScriptList
impl AsRef<[NativeScript]> for NativeScriptList
Source§fn as_ref(&self) -> &[NativeScript]
fn as_ref(&self) -> &[NativeScript]
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<Vec<NativeScript>> for NativeScriptList
impl AsRef<Vec<NativeScript>> for NativeScriptList
Source§fn as_ref(&self) -> &Vec<NativeScript>
fn as_ref(&self) -> &Vec<NativeScript>
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for NativeScriptList
impl Clone for NativeScriptList
Source§fn clone(&self) -> NativeScriptList
fn clone(&self) -> NativeScriptList
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NativeScriptList
impl Debug for NativeScriptList
Source§impl From<NativeScriptList> for JsValue
impl From<NativeScriptList> for JsValue
Source§fn from(value: NativeScriptList) -> Self
fn from(value: NativeScriptList) -> Self
Converts to this type from the input type.
Source§impl From<NonemptySet<NativeScript>> for NativeScriptList
impl From<NonemptySet<NativeScript>> for NativeScriptList
Source§fn from(native: NonemptySetNativeScript) -> Self
fn from(native: NonemptySetNativeScript) -> Self
Converts to this type from the input type.
Source§impl From<Vec<NativeScript>> for NativeScriptList
impl From<Vec<NativeScript>> for NativeScriptList
Source§fn from(native: Vec<NativeScript>) -> Self
fn from(native: Vec<NativeScript>) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for NativeScriptList
impl FromWasmAbi for NativeScriptList
Source§impl Into<NonemptySet<NativeScript>> for NativeScriptList
impl Into<NonemptySet<NativeScript>> for NativeScriptList
Source§fn into(self) -> NonemptySetNativeScript
fn into(self) -> NonemptySetNativeScript
Converts this type into the (usually inferred) input type.
Source§impl Into<Vec<NativeScript>> for NativeScriptList
impl Into<Vec<NativeScript>> for NativeScriptList
Source§fn into(self) -> Vec<NativeScript>
fn into(self) -> Vec<NativeScript>
Converts this type into the (usually inferred) input type.
Source§impl IntoWasmAbi for NativeScriptList
impl IntoWasmAbi for NativeScriptList
Source§impl OptionFromWasmAbi for NativeScriptList
impl OptionFromWasmAbi for NativeScriptList
Source§impl OptionIntoWasmAbi for NativeScriptList
impl OptionIntoWasmAbi for NativeScriptList
Source§impl RefFromWasmAbi for NativeScriptList
impl RefFromWasmAbi for NativeScriptList
Source§type Anchor = RcRef<NativeScriptList>
type Anchor = RcRef<NativeScriptList>
The type that holds the reference to
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl RefMutFromWasmAbi for NativeScriptList
impl RefMutFromWasmAbi for NativeScriptList
Source§impl TryFromJsValue for NativeScriptList
impl TryFromJsValue for NativeScriptList
Source§impl VectorFromWasmAbi for NativeScriptList
impl VectorFromWasmAbi for NativeScriptList
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[NativeScriptList]>
Source§impl VectorIntoJsValue for NativeScriptList
impl VectorIntoJsValue for NativeScriptList
fn vector_into_jsvalue(vector: Box<[NativeScriptList]>) -> JsValue
Source§impl VectorIntoWasmAbi for NativeScriptList
impl VectorIntoWasmAbi for NativeScriptList
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[NativeScriptList]>) -> Self::Abi
Source§impl WasmDescribeVector for NativeScriptList
impl WasmDescribeVector for NativeScriptList
impl SupportsConstructor for NativeScriptList
impl SupportsInstanceProperty for NativeScriptList
impl SupportsStaticProperty for NativeScriptList
Auto Trait Implementations§
impl Freeze for NativeScriptList
impl RefUnwindSafe for NativeScriptList
impl Send for NativeScriptList
impl Sync for NativeScriptList
impl Unpin for NativeScriptList
impl UnwindSafe for NativeScriptList
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.