#[repr(C)]pub struct AzInstantPtr {
pub ptr: Box<Instant>,
pub clone_fn: InstantPtrCloneCallback,
pub destructor: InstantPtrDestructorCallback,
pub run_destructor: bool,
}
Fields§
§ptr: Box<Instant>
§clone_fn: InstantPtrCloneCallback
§destructor: InstantPtrDestructorCallback
§run_destructor: bool
Trait Implementations§
Source§impl Clone for AzInstantPtr
impl Clone for AzInstantPtr
Source§impl Debug for AzInstantPtr
impl Debug for AzInstantPtr
Source§impl Drop for AzInstantPtr
impl Drop for AzInstantPtr
Source§impl From<AzInstantPtr> for Instant
impl From<AzInstantPtr> for Instant
Source§fn from(s: AzInstantPtr) -> StdInstant
fn from(s: AzInstantPtr) -> StdInstant
Converts to this type from the input type.
Source§impl From<Instant> for AzInstantPtr
impl From<Instant> for AzInstantPtr
Source§fn from(s: StdInstant) -> AzInstantPtr
fn from(s: StdInstant) -> AzInstantPtr
Converts to this type from the input type.
Source§impl Hash for AzInstantPtr
impl Hash for AzInstantPtr
Source§impl Ord for AzInstantPtr
impl Ord for AzInstantPtr
Source§impl PartialEq for AzInstantPtr
impl PartialEq for AzInstantPtr
Source§impl PartialOrd for AzInstantPtr
impl PartialOrd for AzInstantPtr
impl Eq for AzInstantPtr
Auto Trait Implementations§
impl Freeze for AzInstantPtr
impl RefUnwindSafe for AzInstantPtr
impl Send for AzInstantPtr
impl Sync for AzInstantPtr
impl Unpin for AzInstantPtr
impl UnwindSafe for AzInstantPtr
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more