Fields
value: u16
time: u32
time_remaining: u32
Trait Implementations
sourceimpl FromByteSlice for Monoflop
impl FromByteSlice for Monoflop
sourcefn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
sourcefn from_le_bytes(bytes: &[u8]) -> Monoflop
fn from_le_bytes(bytes: &[u8]) -> Monoflop
Deserialize the implementing type from a byte slice.
impl Copy for Monoflop
impl Eq for Monoflop
impl StructuralEq for Monoflop
impl StructuralPartialEq for Monoflop
Auto Trait Implementations
impl RefUnwindSafe for Monoflop
impl Send for Monoflop
impl Sync for Monoflop
impl Unpin for Monoflop
impl UnwindSafe for Monoflop
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more