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