#[repr(C)]pub struct option_duration {
pub dur: duration,
pub is_some: i32,
}
Expand description
Optional duration.
Fields§
§dur: duration
§is_some: i32
Trait Implementations§
source§impl Clone for option_duration
impl Clone for option_duration
source§fn clone(&self) -> option_duration
fn clone(&self) -> option_duration
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 option_duration
impl Debug for option_duration
impl Copy for option_duration
Auto Trait Implementations§
impl Freeze for option_duration
impl RefUnwindSafe for option_duration
impl Send for option_duration
impl Sync for option_duration
impl Unpin for option_duration
impl UnwindSafe for option_duration
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)