pub struct DefaultObjectTag;Expand description
The default tag used when an object participates in only one list.
Tags are used to disambiguate which node state should be used when an object participates in multiple intrusive containers simultaneously. By providing a default tag, we make the common case (participating in a single list) more ergonomic by not requiring the user to specify a tag explicitly.
Auto Trait Implementations§
impl Freeze for DefaultObjectTag
impl RefUnwindSafe for DefaultObjectTag
impl Send for DefaultObjectTag
impl Sync for DefaultObjectTag
impl Unpin for DefaultObjectTag
impl UnsafeUnpin for DefaultObjectTag
impl UnwindSafe for DefaultObjectTag
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> PinInit<T> for T
impl<T> PinInit<T> for T
Source§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
Initializes
slot. Read more