Struct serpente::time::Milliseconds
source · pub struct Milliseconds(pub u32);
Expand description
Milliseconds
Tuple Fields§
§0: u32
Trait Implementations§
source§impl Clone for Milliseconds
impl Clone for Milliseconds
source§fn clone(&self) -> Milliseconds
fn clone(&self) -> Milliseconds
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Milliseconds
impl Debug for Milliseconds
source§impl From<Microseconds> for Milliseconds
impl From<Microseconds> for Milliseconds
source§fn from(item: Microseconds) -> Milliseconds
fn from(item: Microseconds) -> Milliseconds
Converts to this type from the input type.
source§impl From<Milliseconds> for Microseconds
impl From<Milliseconds> for Microseconds
source§fn from(item: Milliseconds) -> Microseconds
fn from(item: Milliseconds) -> Microseconds
Converts to this type from the input type.
source§impl From<Milliseconds> for Nanoseconds
impl From<Milliseconds> for Nanoseconds
source§fn from(item: Milliseconds) -> Nanoseconds
fn from(item: Milliseconds) -> Nanoseconds
Converts to this type from the input type.
source§impl From<Milliseconds> for Seconds
impl From<Milliseconds> for Seconds
source§fn from(item: Milliseconds) -> Seconds
fn from(item: Milliseconds) -> Seconds
Converts to this type from the input type.
source§impl From<Seconds> for Milliseconds
impl From<Seconds> for Milliseconds
source§fn from(item: Seconds) -> Milliseconds
fn from(item: Seconds) -> Milliseconds
Converts to this type from the input type.
source§impl PartialEq<Milliseconds> for Milliseconds
impl PartialEq<Milliseconds> for Milliseconds
source§fn eq(&self, other: &Milliseconds) -> bool
fn eq(&self, other: &Milliseconds) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Milliseconds
impl Eq for Milliseconds
impl StructuralEq for Milliseconds
impl StructuralPartialEq for Milliseconds
Auto Trait Implementations§
impl RefUnwindSafe for Milliseconds
impl Send for Milliseconds
impl Sync for Milliseconds
impl Unpin for Milliseconds
impl UnwindSafe for Milliseconds
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