pub struct Timer { /* private fields */ }Expand description
Simple timer for measuring elapsed time in WASM.
Implementations§
Trait Implementations§
Source§impl FromWasmAbi for Timer
impl FromWasmAbi for Timer
Source§impl IntoWasmAbi for Timer
impl IntoWasmAbi for Timer
Source§impl LongRefFromWasmAbi for Timer
impl LongRefFromWasmAbi for Timer
Source§impl OptionFromWasmAbi for Timer
impl OptionFromWasmAbi for Timer
Source§impl OptionIntoWasmAbi for Timer
impl OptionIntoWasmAbi for Timer
Source§impl RefFromWasmAbi for Timer
impl RefFromWasmAbi for Timer
Source§impl RefMutFromWasmAbi for Timer
impl RefMutFromWasmAbi for Timer
Source§impl TryFromJsValue for Timer
impl TryFromJsValue for Timer
Source§impl VectorFromWasmAbi for Timer
impl VectorFromWasmAbi for Timer
Source§impl VectorIntoWasmAbi for Timer
impl VectorIntoWasmAbi for Timer
impl SupportsConstructor for Timer
impl SupportsInstanceProperty for Timer
impl SupportsStaticProperty for Timer
Auto Trait Implementations§
impl Freeze for Timer
impl RefUnwindSafe for Timer
impl Send for Timer
impl Sync for Timer
impl Unpin for Timer
impl UnwindSafe for Timer
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::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.