pub struct Random;
Expand description
Random utilities
Implementations§
Trait Implementations§
Source§impl FromWasmAbi for Random
impl FromWasmAbi for Random
Source§impl IntoWasmAbi for Random
impl IntoWasmAbi for Random
Source§impl LongRefFromWasmAbi for Random
impl LongRefFromWasmAbi for Random
Source§impl OptionFromWasmAbi for Random
impl OptionFromWasmAbi for Random
Source§impl OptionIntoWasmAbi for Random
impl OptionIntoWasmAbi for Random
Source§impl RefFromWasmAbi for Random
impl RefFromWasmAbi for Random
Source§impl RefMutFromWasmAbi for Random
impl RefMutFromWasmAbi for Random
Source§impl TryFromJsValue for Random
impl TryFromJsValue for Random
Source§impl VectorFromWasmAbi for Random
impl VectorFromWasmAbi for Random
Source§impl VectorIntoWasmAbi for Random
impl VectorIntoWasmAbi for Random
impl SupportsConstructor for Random
impl SupportsInstanceProperty for Random
impl SupportsStaticProperty for Random
Auto Trait Implementations§
impl Freeze for Random
impl RefUnwindSafe for Random
impl Send for Random
impl Sync for Random
impl Unpin for Random
impl UnwindSafe for Random
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> 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
.