pub struct BlockTime(/* private fields */);Expand description
A newtype wrapping a u64 which represents the block time.
Implementations§
Trait Implementations§
impl Copy for BlockTime
impl Eq for BlockTime
Source§impl PartialOrd for BlockTime
impl PartialOrd for BlockTime
impl StructuralPartialEq for BlockTime
Auto Trait Implementations§
impl Freeze for BlockTime
impl RefUnwindSafe for BlockTime
impl Send for BlockTime
impl Sync for BlockTime
impl Unpin for BlockTime
impl UnsafeUnpin for BlockTime
impl UnwindSafe for BlockTime
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