Skip to main content

Instant

Struct Instant 

Source
pub struct Instant;

Trait Implementations§

Source§

impl<T: ?Sized> CreateHandle<Instant> for Box<T>

Source§

const ACCESS: AccessKind = AccessKind::Shared

The access permissions required by Self::handle_from_raw.
Source§

type Handle = BoxHandle<T>

The handle that’s used for operating on the represented place. Read more
Source§

unsafe fn handle_from_raw(this: *const Self) -> Self::Handle

Create a handle to the pointee of the raw pointer. Read more
Source§

impl<'b, T> CreateHandle<Instant> for RefMut<'b, T>

Source§

const ACCESS: AccessKind = AccessKind::Shared

The access permissions required by Self::handle_from_raw.
Source§

type Handle = CellMutHandle<'b, T>

The handle that’s used for operating on the represented place. Read more
Source§

unsafe fn handle_from_raw(_this: *const Self) -> Self::Handle

Create a handle to the pointee of the raw pointer. Read more
Source§

impl<'a, T: ?Sized> CreateHandle<Instant> for &'a T

Source§

const ACCESS: AccessKind = AccessKind::Shared

The access permissions required by Self::handle_from_raw.
Source§

type Handle = RefHandle<'a, T>

The handle that’s used for operating on the represented place. Read more
Source§

unsafe fn handle_from_raw(this: *const Self) -> Self::Handle

Create a handle to the pointee of the raw pointer. Read more
Source§

impl<'a, T: ?Sized> CreateHandle<Instant> for &'a mut T

Source§

const ACCESS: AccessKind = AccessKind::Shared

The access permissions required by Self::handle_from_raw.
Source§

type Handle = MutHandle<'a, T>

The handle that’s used for operating on the represented place. Read more
Source§

unsafe fn handle_from_raw(this: *const Self) -> Self::Handle

Create a handle to the pointee of the raw pointer. Read more
Source§

impl<T: ?Sized> CreateHandle<Instant> for NonNull<T>

Source§

const ACCESS: AccessKind = AccessKind::Untracked

The access permissions required by Self::handle_from_raw.
Source§

type Handle = NonNull<T>

The handle that’s used for operating on the represented place. Read more
Source§

unsafe fn handle_from_raw(this: *const Self) -> Self::Handle

Create a handle to the pointee of the raw pointer. Read more
Source§

impl<T: ?Sized> CreateHandle<Instant> for *const T

Source§

const ACCESS: AccessKind = AccessKind::Untracked

The access permissions required by Self::handle_from_raw.
Source§

type Handle = *const T

The handle that’s used for operating on the represented place. Read more
Source§

unsafe fn handle_from_raw(this: *const Self) -> Self::Handle

Create a handle to the pointee of the raw pointer. Read more
Source§

impl<T: ?Sized> CreateHandle<Instant> for *mut T

Source§

const ACCESS: AccessKind = AccessKind::Untracked

The access permissions required by Self::handle_from_raw.
Source§

type Handle = *mut T

The handle that’s used for operating on the represented place. Read more
Source§

unsafe fn handle_from_raw(this: *const Self) -> Self::Handle

Create a handle to the pointee of the raw pointer. Read more
Source§

impl<T: ?Sized> CreateHandle<Instant> for Arc<T>

Source§

const ACCESS: AccessKind = AccessKind::Shared

The access permissions required by Self::handle_from_raw.
Source§

type Handle = ArcHandle<T>

The handle that’s used for operating on the represented place. Read more
Source§

unsafe fn handle_from_raw(this: *const Self) -> Self::Handle

Create a handle to the pointee of the raw pointer. Read more
Source§

impl<T: ?Sized> CreateHandle<Instant> for ArcRef<T>

Source§

const ACCESS: AccessKind = AccessKind::Shared

The access permissions required by Self::handle_from_raw.
Source§

type Handle = ArcRefHandle<T>

The handle that’s used for operating on the represented place. Read more
Source§

unsafe fn handle_from_raw(this: *const Self) -> Self::Handle

Create a handle to the pointee of the raw pointer. Read more
Source§

impl<T> CreateHandle<Instant> for Vec<T>

Source§

const ACCESS: AccessKind = AccessKind::Shared

The access permissions required by Self::handle_from_raw.
Source§

type Handle = VecHandle<T>

The handle that’s used for operating on the represented place. Read more
Source§

unsafe fn handle_from_raw(this: *const Self) -> Self::Handle

Create a handle to the pointee of the raw pointer. Read more
Source§

impl<P, ProxyTiming> DerefPlace<ProxyTiming, Instant> for LocalHandle<P>
where P: CreateHandle<ProxyTiming>, ProxyTiming: Timing,

Source§

const POINTEE_ACCESS: AccessKind = P::ACCESS

The access permissions to the contents of the place handled by Self required by Self::deref_place.
Source§

const POINTER_ACCESS: AccessKind = P::ACCESS

The access permissions to the place handled by Self required by Self::deref_place.
Source§

const SAFE: bool = true

Whether Self::deref_place is safe when Self::POINTEE_ACCESS and Self::POINTER_ACCESS are honored for PointeeTiming and PointerTiming respectively. Read more
Source§

unsafe fn deref_place( self, ) -> <Self::Target as CreateHandle<ProxyTiming>>::Handle

Source§

impl<'a, ProxyTiming, P> DerefPlace<ProxyTiming, Instant> for RefHandle<'a, P>
where P: CreateHandle<ProxyTiming> + ?Sized, ProxyTiming: Timing,

Source§

const POINTEE_ACCESS: AccessKind = P::ACCESS

The access permissions to the contents of the place handled by Self required by Self::deref_place.
Source§

const POINTER_ACCESS: AccessKind = AccessKind::Shared

The access permissions to the place handled by Self required by Self::deref_place.
Source§

const SAFE: bool = true

Whether Self::deref_place is safe when Self::POINTEE_ACCESS and Self::POINTER_ACCESS are honored for PointeeTiming and PointerTiming respectively. Read more
Source§

unsafe fn deref_place( self, ) -> <Self::Target as CreateHandle<ProxyTiming>>::Handle

Source§

impl<'a, ProxyTiming, P> DerefPlace<ProxyTiming, Instant> for MutHandle<'a, P>
where P: CreateHandle<ProxyTiming> + ?Sized, ProxyTiming: Timing,

Source§

const POINTEE_ACCESS: AccessKind = P::ACCESS

The access permissions to the contents of the place handled by Self required by Self::deref_place.
Source§

const POINTER_ACCESS: AccessKind = AccessKind::Shared

The access permissions to the place handled by Self required by Self::deref_place.
Source§

const SAFE: bool = true

Whether Self::deref_place is safe when Self::POINTEE_ACCESS and Self::POINTER_ACCESS are honored for PointeeTiming and PointerTiming respectively. Read more
Source§

unsafe fn deref_place( self, ) -> <Self::Target as CreateHandle<ProxyTiming>>::Handle

Source§

impl<P, ProxyTiming> DerefPlace<ProxyTiming, Instant> for *const P
where P: ?Sized + CreateHandle<ProxyTiming>, ProxyTiming: Timing,

Source§

const POINTEE_ACCESS: AccessKind = P::ACCESS

The access permissions to the contents of the place handled by Self required by Self::deref_place.
Source§

const POINTER_ACCESS: AccessKind = AccessKind::Untracked

The access permissions to the place handled by Self required by Self::deref_place.
Source§

const SAFE: bool = false

Whether Self::deref_place is safe when Self::POINTEE_ACCESS and Self::POINTER_ACCESS are honored for PointeeTiming and PointerTiming respectively. Read more
Source§

unsafe fn deref_place( self, ) -> <Self::Target as CreateHandle<ProxyTiming>>::Handle

Source§

impl<P, ProxyTiming> DerefPlace<ProxyTiming, Instant> for *mut P
where P: ?Sized + CreateHandle<ProxyTiming>, ProxyTiming: Timing,

Source§

const POINTEE_ACCESS: AccessKind = P::ACCESS

The access permissions to the contents of the place handled by Self required by Self::deref_place.
Source§

const POINTER_ACCESS: AccessKind = AccessKind::Untracked

The access permissions to the place handled by Self required by Self::deref_place.
Source§

const SAFE: bool = false

Whether Self::deref_place is safe when Self::POINTEE_ACCESS and Self::POINTER_ACCESS are honored for PointeeTiming and PointerTiming respectively. Read more
Source§

unsafe fn deref_place( self, ) -> <Self::Target as CreateHandle<ProxyTiming>>::Handle

Source§

impl Sealed for Instant

Source§

impl Timing for Instant

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.