pub struct BaseTimeUnit { /* private fields */ }Implementations§
Source§impl BaseTimeUnit
impl BaseTimeUnit
pub fn get_val(&self) -> &TimeUnitValues
pub fn set_val(&mut self, value: TimeUnitValues) -> &mut Self
Trait Implementations§
Source§impl Clone for BaseTimeUnit
impl Clone for BaseTimeUnit
Source§fn clone(&self) -> BaseTimeUnit
fn clone(&self) -> BaseTimeUnit
Returns a duplicate 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 BaseTimeUnit
impl Debug for BaseTimeUnit
Source§impl Default for BaseTimeUnit
impl Default for BaseTimeUnit
Source§fn default() -> BaseTimeUnit
fn default() -> BaseTimeUnit
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BaseTimeUnit
impl RefUnwindSafe for BaseTimeUnit
impl Send for BaseTimeUnit
impl Sync for BaseTimeUnit
impl Unpin for BaseTimeUnit
impl UnwindSafe for BaseTimeUnit
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