Struct intrusive_collections::DefaultPointerOps
source · pub struct DefaultPointerOps<Pointer>(/* private fields */);
Expand description
The PointerOps
type used by an Adapter
generated by intrusive_adapter!
.
Implementations§
source§impl<Pointer> DefaultPointerOps<Pointer>
impl<Pointer> DefaultPointerOps<Pointer>
sourcepub const fn new() -> DefaultPointerOps<Pointer>
pub const fn new() -> DefaultPointerOps<Pointer>
Constructs an instance of DefaultPointerOps
.
Trait Implementations§
source§impl<Pointer> Clone for DefaultPointerOps<Pointer>
impl<Pointer> Clone for DefaultPointerOps<Pointer>
source§impl<Pointer> Default for DefaultPointerOps<Pointer>
impl<Pointer> Default for DefaultPointerOps<Pointer>
source§impl<'a, T: ?Sized> PointerOps for DefaultPointerOps<&'a T>
impl<'a, T: ?Sized> PointerOps for DefaultPointerOps<&'a T>
source§impl<T: ?Sized> PointerOps for DefaultPointerOps<Arc<T>>
impl<T: ?Sized> PointerOps for DefaultPointerOps<Arc<T>>
source§impl<T: ?Sized> PointerOps for DefaultPointerOps<Box<T>>
impl<T: ?Sized> PointerOps for DefaultPointerOps<Box<T>>
source§impl<'a, T: ?Sized> PointerOps for DefaultPointerOps<Pin<&'a T>>
impl<'a, T: ?Sized> PointerOps for DefaultPointerOps<Pin<&'a T>>
source§impl<T: ?Sized> PointerOps for DefaultPointerOps<Pin<Arc<T>>>
impl<T: ?Sized> PointerOps for DefaultPointerOps<Pin<Arc<T>>>
source§impl<T: ?Sized> PointerOps for DefaultPointerOps<Pin<Box<T>>>
impl<T: ?Sized> PointerOps for DefaultPointerOps<Pin<Box<T>>>
source§impl<T: ?Sized> PointerOps for DefaultPointerOps<Pin<Rc<T>>>
impl<T: ?Sized> PointerOps for DefaultPointerOps<Pin<Rc<T>>>
source§impl<T: ?Sized> PointerOps for DefaultPointerOps<Pin<UnsafeRef<T>>>
impl<T: ?Sized> PointerOps for DefaultPointerOps<Pin<UnsafeRef<T>>>
source§impl<T: ?Sized> PointerOps for DefaultPointerOps<Rc<T>>
impl<T: ?Sized> PointerOps for DefaultPointerOps<Rc<T>>
source§impl<T: ?Sized> PointerOps for DefaultPointerOps<UnsafeRef<T>>
impl<T: ?Sized> PointerOps for DefaultPointerOps<UnsafeRef<T>>
impl<Pointer> Copy for DefaultPointerOps<Pointer>
Auto Trait Implementations§
impl<Pointer> Freeze for DefaultPointerOps<Pointer>
impl<Pointer> RefUnwindSafe for DefaultPointerOps<Pointer>where
Pointer: RefUnwindSafe,
impl<Pointer> Send for DefaultPointerOps<Pointer>where
Pointer: Send,
impl<Pointer> Sync for DefaultPointerOps<Pointer>where
Pointer: Sync,
impl<Pointer> Unpin for DefaultPointerOps<Pointer>where
Pointer: Unpin,
impl<Pointer> UnwindSafe for DefaultPointerOps<Pointer>where
Pointer: UnwindSafe,
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
)