pub struct Version(/* private fields */);
Implementations§
Trait Implementations§
Source§impl FromWasmAbi for Version
impl FromWasmAbi for Version
Source§impl IntoWasmAbi for Version
impl IntoWasmAbi for Version
Source§impl LongRefFromWasmAbi for Version
impl LongRefFromWasmAbi for Version
Source§impl OptionFromWasmAbi for Version
impl OptionFromWasmAbi for Version
Source§impl OptionIntoWasmAbi for Version
impl OptionIntoWasmAbi for Version
Source§impl RefFromWasmAbi for Version
impl RefFromWasmAbi for Version
Source§impl RefMutFromWasmAbi for Version
impl RefMutFromWasmAbi for Version
Source§impl TryFromJsValue for Version
impl TryFromJsValue for Version
Source§impl VectorFromWasmAbi for Version
impl VectorFromWasmAbi for Version
Source§impl VectorIntoWasmAbi for Version
impl VectorIntoWasmAbi for Version
impl SupportsConstructor for Version
impl SupportsInstanceProperty for Version
impl SupportsStaticProperty for Version
Auto Trait Implementations§
impl Freeze for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
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> 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
.