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