pub struct LinkedEntry<T> { /* private fields */ }Expand description
LinkedEntry stores an instance of T and a link to the next entry.
Trait Implementations§
Source§impl<T> AsMut<T> for LinkedEntry<T>
impl<T> AsMut<T> for LinkedEntry<T>
Source§impl<T> AsRef<T> for LinkedEntry<T>
impl<T> AsRef<T> for LinkedEntry<T>
Source§impl<T: Clone> Clone for LinkedEntry<T>
impl<T: Clone> Clone for LinkedEntry<T>
Source§impl<T: Debug> Debug for LinkedEntry<T>
impl<T: Debug> Debug for LinkedEntry<T>
Source§impl<T> Deref for LinkedEntry<T>
impl<T> Deref for LinkedEntry<T>
Source§impl<T> DerefMut for LinkedEntry<T>
impl<T> DerefMut for LinkedEntry<T>
Source§impl<T: Display> Display for LinkedEntry<T>
impl<T: Display> Display for LinkedEntry<T>
Source§impl<T> Drop for LinkedEntry<T>
impl<T> Drop for LinkedEntry<T>
Source§impl<T> LinkedList for LinkedEntry<T>
impl<T> LinkedList for LinkedEntry<T>
Source§fn link_ref(&self) -> &AtomicShared<Self>
fn link_ref(&self) -> &AtomicShared<Self>
Returns a reference to the forward link. Read more
Source§fn is_deleted(&self, order: Ordering) -> bool
fn is_deleted(&self, order: Ordering) -> bool
Source§fn push_back<'g>(
&self,
entry: Shared<Self>,
mark: bool,
order: Ordering,
guard: &'g Guard,
) -> Result<Ptr<'g, Self>, Shared<Self>>
fn push_back<'g>( &self, entry: Shared<Self>, mark: bool, order: Ordering, guard: &'g Guard, ) -> Result<Ptr<'g, Self>, Shared<Self>>
Appends the given entry to
self and returns a pointer to the entry. Read moreSource§impl<T: PartialEq> PartialEq for LinkedEntry<T>
impl<T: PartialEq> PartialEq for LinkedEntry<T>
impl<T: Eq> Eq for LinkedEntry<T>
Auto Trait Implementations§
impl<T> !Freeze for LinkedEntry<T>
impl<T> RefUnwindSafe for LinkedEntry<T>where
T: RefUnwindSafe,
impl<T> Send for LinkedEntry<T>where
T: Send,
impl<T> Sync for LinkedEntry<T>
impl<T> Unpin for LinkedEntry<T>where
T: Unpin,
impl<T> UnsafeUnpin for LinkedEntry<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for LinkedEntry<T>where
T: 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