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 for LinkedEntry<T>where
T: Clone,
impl<T> Clone for LinkedEntry<T>where
T: Clone,
Source§fn clone(&self) -> LinkedEntry<T>
fn clone(&self) -> LinkedEntry<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T> Debug for LinkedEntry<T>where
T: Debug,
impl<T> Debug for LinkedEntry<T>where
T: Debug,
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 for LinkedEntry<T>where
T: Display,
impl<T> Display for LinkedEntry<T>where
T: Display,
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<LinkedEntry<T>>
fn link_ref(&self) -> &AtomicShared<LinkedEntry<T>>
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 for LinkedEntry<T>where
T: PartialEq,
impl<T> PartialEq for LinkedEntry<T>where
T: PartialEq,
impl<T> Eq for LinkedEntry<T>where
T: Eq,
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> 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self with key and returns true if they are equal.