Struct crossbeam_skiplist::set::Entry [−][src]
A reference-counted entry in a set.
Implementations
impl<'a, T> Entry<'a, T>
[src][−]
pub fn value(&self) -> &T
[src][−]
Returns a reference to the value.
pub fn is_removed(&self) -> bool
[src][−]
Returns true
if the entry is removed from the set.
impl<'a, T> Entry<'a, T> where
T: Ord,
[src][−]
T: Ord,
pub fn move_next(&mut self) -> bool
[src][−]
Moves to the next entry in the set.
pub fn move_prev(&mut self) -> bool
[src][−]
Moves to the previous entry in the set.
pub fn next(&self) -> Option<Entry<'a, T>>
[src][−]
Returns the next entry in the set.
pub fn prev(&self) -> Option<Entry<'a, T>>
[src][−]
Returns the previous entry in the set.
impl<T> Entry<'_, T> where
T: Ord + Send + 'static,
[src][−]
T: Ord + Send + 'static,
pub fn remove(&self) -> bool
[src][−]
Removes the entry from the set.
Returns true
if this call removed the entry and false
if it was already removed.
Trait Implementations
impl<'a, T> Clone for Entry<'a, T>
[src][+]
impl<T> Debug for Entry<'_, T> where
T: Debug,
[src][+]
T: Debug,
impl<T> Deref for Entry<'_, T>
[src][+]
Auto Trait Implementations
impl<'a, T> !RefUnwindSafe for Entry<'a, T>
impl<'a, T> Send for Entry<'a, T> where
T: Send + Sync,
T: Send + Sync,
impl<'a, T> Sync for Entry<'a, T> where
T: Send + Sync,
T: Send + Sync,
impl<'a, T> Unpin for Entry<'a, T>
impl<'a, T> !UnwindSafe for Entry<'a, T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> Pointable for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,