pub struct Team {
pub winner: bool,
pub players: Vec<Player>,
}Fields§
§winner: bool§players: Vec<Player>Trait Implementations§
Source§impl FromWasmAbi for Team
impl FromWasmAbi for Team
Source§impl IntoWasmAbi for Team
impl IntoWasmAbi for Team
Source§impl LongRefFromWasmAbi for Team
impl LongRefFromWasmAbi for Team
Source§impl OptionFromWasmAbi for Team
impl OptionFromWasmAbi for Team
Source§impl OptionIntoWasmAbi for Team
impl OptionIntoWasmAbi for Team
Source§impl RefFromWasmAbi for Team
impl RefFromWasmAbi for Team
Source§impl RefMutFromWasmAbi for Team
impl RefMutFromWasmAbi for Team
Source§impl TryFromJsValue for Team
impl TryFromJsValue for Team
Source§impl VectorFromWasmAbi for Team
impl VectorFromWasmAbi for Team
Source§impl VectorIntoWasmAbi for Team
impl VectorIntoWasmAbi for Team
impl SupportsConstructor for Team
impl SupportsInstanceProperty for Team
impl SupportsStaticProperty for Team
Auto Trait Implementations§
impl Freeze for Team
impl RefUnwindSafe for Team
impl Send for Team
impl Sync for Team
impl Unpin for Team
impl UnwindSafe for Team
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
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.