pub struct WasmRandomItemSet {
pub items: Vec<WasmRandomItem>,
}Fields§
§items: Vec<WasmRandomItem>Trait Implementations§
Source§impl Clone for WasmRandomItemSet
impl Clone for WasmRandomItemSet
Source§fn clone(&self) -> WasmRandomItemSet
fn clone(&self) -> WasmRandomItemSet
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 WasmRandomItemSet
impl Debug for WasmRandomItemSet
Source§impl From<RandomItemSet> for WasmRandomItemSet
impl From<RandomItemSet> for WasmRandomItemSet
Source§fn from(set: RandomItemSet) -> Self
fn from(set: RandomItemSet) -> Self
Converts to this type from the input type.
Source§impl From<WasmRandomItemSet> for JsValue
impl From<WasmRandomItemSet> for JsValue
Source§fn from(value: WasmRandomItemSet) -> Self
fn from(value: WasmRandomItemSet) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for WasmRandomItemSet
impl FromWasmAbi for WasmRandomItemSet
Source§impl IntoWasmAbi for WasmRandomItemSet
impl IntoWasmAbi for WasmRandomItemSet
Source§impl RefFromWasmAbi for WasmRandomItemSet
impl RefFromWasmAbi for WasmRandomItemSet
Source§type Anchor = RcRef<WasmRandomItemSet>
type Anchor = RcRef<WasmRandomItemSet>
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 TryFromJsValue for WasmRandomItemSet
impl TryFromJsValue for WasmRandomItemSet
Source§impl VectorFromWasmAbi for WasmRandomItemSet
impl VectorFromWasmAbi for WasmRandomItemSet
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[WasmRandomItemSet]>
Source§impl VectorIntoJsValue for WasmRandomItemSet
impl VectorIntoJsValue for WasmRandomItemSet
fn vector_into_jsvalue(vector: Box<[WasmRandomItemSet]>) -> JsValue
Source§impl VectorIntoWasmAbi for WasmRandomItemSet
impl VectorIntoWasmAbi for WasmRandomItemSet
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[WasmRandomItemSet]>) -> Self::Abi
Source§impl WasmDescribeVector for WasmRandomItemSet
impl WasmDescribeVector for WasmRandomItemSet
impl SupportsConstructor for WasmRandomItemSet
impl SupportsInstanceProperty for WasmRandomItemSet
impl SupportsStaticProperty for WasmRandomItemSet
Auto Trait Implementations§
impl Freeze for WasmRandomItemSet
impl RefUnwindSafe for WasmRandomItemSet
impl !Send for WasmRandomItemSet
impl !Sync for WasmRandomItemSet
impl Unpin for WasmRandomItemSet
impl UnwindSafe for WasmRandomItemSet
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> Pointable for T
impl<T> Pointable for T
Source§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::AbiSource§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.