pub struct Pow2RangeAllocatorLockClass;Trait Implementations§
Source§impl Clone for Pow2RangeAllocatorLockClass
impl Clone for Pow2RangeAllocatorLockClass
impl Copy for Pow2RangeAllocatorLockClass
Source§impl Debug for Pow2RangeAllocatorLockClass
impl Debug for Pow2RangeAllocatorLockClass
Source§impl Default for Pow2RangeAllocatorLockClass
impl Default for Pow2RangeAllocatorLockClass
Source§impl<'a, P: LockPolicy<RawMutex>> ExclusiveLockToken<Pow2RangeAllocator, Pow2RangeAllocatorLockClass> for Pin<&mut Pow2RangeAllocatorLockGuard<'a, P>>
impl<'a, P: LockPolicy<RawMutex>> ExclusiveLockToken<Pow2RangeAllocator, Pow2RangeAllocatorLockClass> for Pin<&mut Pow2RangeAllocatorLockGuard<'a, P>>
Source§fn parent(&self) -> *const Pow2RangeAllocator
fn parent(&self) -> *const Pow2RangeAllocator
Returns the address of the parent struct instance to which this guard is bound.
Source§fn lock_token_mut(&mut self) -> &mut LockToken<'_, Pow2RangeAllocatorLockClass>
fn lock_token_mut(&mut self) -> &mut LockToken<'_, Pow2RangeAllocatorLockClass>
Returns a mutable reference to the underlying
LockToken.Source§impl<'b, 'a> ExclusiveLockToken<Pow2RangeAllocator, Pow2RangeAllocatorLockClass> for Pow2RangeAllocatorLockTokenGuardMut<'b, 'a>
impl<'b, 'a> ExclusiveLockToken<Pow2RangeAllocator, Pow2RangeAllocatorLockClass> for Pow2RangeAllocatorLockTokenGuardMut<'b, 'a>
Source§fn parent(&self) -> *const Pow2RangeAllocator
fn parent(&self) -> *const Pow2RangeAllocator
Returns the address of the parent struct instance to which this guard is bound.
Source§fn lock_token_mut(&mut self) -> &mut LockToken<'_, Pow2RangeAllocatorLockClass>
fn lock_token_mut(&mut self) -> &mut LockToken<'_, Pow2RangeAllocatorLockClass>
Returns a mutable reference to the underlying
LockToken.Auto Trait Implementations§
impl Freeze for Pow2RangeAllocatorLockClass
impl RefUnwindSafe for Pow2RangeAllocatorLockClass
impl Send for Pow2RangeAllocatorLockClass
impl Sync for Pow2RangeAllocatorLockClass
impl Unpin for Pow2RangeAllocatorLockClass
impl UnsafeUnpin for Pow2RangeAllocatorLockClass
impl UnwindSafe for Pow2RangeAllocatorLockClass
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
Source§impl<T> PinInit<T> for T
impl<T> PinInit<T> for T
Source§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), !>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), !>
Initializes
slot. Read moreSource§fn pin_chain<F>(self, f: F) -> ChainPinInit<Self, F, T, E>where
F: FnOnce(Pin<&mut T>) -> Result<(), E>,
fn pin_chain<F>(self, f: F) -> ChainPinInit<Self, F, T, E>where
F: FnOnce(Pin<&mut T>) -> Result<(), E>,
First initializes the value using
self then calls the function f with the initialized
value. Read more§impl<T> ToMutPtr for Twhere
T: ?Sized,
impl<T> ToMutPtr for Twhere
T: ?Sized,
§fn to_mut_ptr(&self) -> *mut T
fn to_mut_ptr(&self) -> *mut T
Casts the reference to a mutable raw pointer.