pub struct SavegameSummary {
pub header: SavegameHeader,
pub teams: Vec<Team>,
pub duration: u32,
}Fields§
§header: SavegameHeader§teams: Vec<Team>§duration: u32Trait Implementations§
Source§impl From<SavegameSummary<'_>> for SavegameSummary
impl From<SavegameSummary<'_>> for SavegameSummary
Source§fn from(summary: SavegameSummary<'_>) -> SavegameSummary
fn from(summary: SavegameSummary<'_>) -> SavegameSummary
Converts to this type from the input type.
Source§impl From<SavegameSummary> for JsValue
impl From<SavegameSummary> for JsValue
Source§fn from(value: SavegameSummary) -> Self
fn from(value: SavegameSummary) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for SavegameSummary
impl FromWasmAbi for SavegameSummary
Source§impl IntoWasmAbi for SavegameSummary
impl IntoWasmAbi for SavegameSummary
Source§impl LongRefFromWasmAbi for SavegameSummary
impl LongRefFromWasmAbi for SavegameSummary
Source§impl OptionFromWasmAbi for SavegameSummary
impl OptionFromWasmAbi for SavegameSummary
Source§impl OptionIntoWasmAbi for SavegameSummary
impl OptionIntoWasmAbi for SavegameSummary
Source§impl RefFromWasmAbi for SavegameSummary
impl RefFromWasmAbi for SavegameSummary
Source§type Anchor = RcRef<SavegameSummary>
type Anchor = RcRef<SavegameSummary>
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 SavegameSummary
impl RefMutFromWasmAbi for SavegameSummary
Source§impl TryFromJsValue for SavegameSummary
impl TryFromJsValue for SavegameSummary
Source§impl VectorFromWasmAbi for SavegameSummary
impl VectorFromWasmAbi for SavegameSummary
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[SavegameSummary]>
Source§impl VectorIntoWasmAbi for SavegameSummary
impl VectorIntoWasmAbi for SavegameSummary
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[SavegameSummary]>) -> Self::Abi
Source§impl WasmDescribeVector for SavegameSummary
impl WasmDescribeVector for SavegameSummary
impl SupportsConstructor for SavegameSummary
impl SupportsInstanceProperty for SavegameSummary
impl SupportsStaticProperty for SavegameSummary
Auto Trait Implementations§
impl Freeze for SavegameSummary
impl RefUnwindSafe for SavegameSummary
impl Send for SavegameSummary
impl Sync for SavegameSummary
impl Unpin for SavegameSummary
impl UnwindSafe for SavegameSummary
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§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> 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.