Struct cu29_clock::OptionCuTime
source · pub struct OptionCuTime(/* private fields */);Expand description
Homebrewed Option<CuDuration> to avoid using 128bits just to represent an Option.
Implementations§
Trait Implementations§
source§impl<'__de> BorrowDecode<'__de> for OptionCuTime
impl<'__de> BorrowDecode<'__de> for OptionCuTime
source§fn borrow_decode<__D: BorrowDecoder<'__de>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
source§impl Clone for OptionCuTime
impl Clone for OptionCuTime
source§fn clone(&self) -> OptionCuTime
fn clone(&self) -> OptionCuTime
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 OptionCuTime
impl Debug for OptionCuTime
source§impl Decode for OptionCuTime
impl Decode for OptionCuTime
source§impl Default for OptionCuTime
impl Default for OptionCuTime
source§impl Display for OptionCuTime
impl Display for OptionCuTime
source§impl Encode for OptionCuTime
impl Encode for OptionCuTime
source§impl From<Option<CuDuration>> for OptionCuTime
impl From<Option<CuDuration>> for OptionCuTime
source§impl Into<Option<CuDuration>> for OptionCuTime
impl Into<Option<CuDuration>> for OptionCuTime
source§impl Into<OptionCuTime> for CuTime
impl Into<OptionCuTime> for CuTime
source§fn into(self) -> OptionCuTime
fn into(self) -> OptionCuTime
Converts this type into the (usually inferred) input type.
source§impl PartialEq for OptionCuTime
impl PartialEq for OptionCuTime
impl Copy for OptionCuTime
impl StructuralPartialEq for OptionCuTime
Auto Trait Implementations§
impl Freeze for OptionCuTime
impl RefUnwindSafe for OptionCuTime
impl Send for OptionCuTime
impl Sync for OptionCuTime
impl Unpin for OptionCuTime
impl UnwindSafe for OptionCuTime
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)