Struct crossbeam_skiplist::set::Entry[][src]

pub struct Entry<'a, T> { /* fields omitted */ }

TODO

Implementations

impl<'a, T> Entry<'a, T>[src]

pub fn value(&self) -> &T[src]

Returns a reference to the key.

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]

pub fn move_next(&mut self) -> bool[src]

TODO

pub fn move_prev(&mut self) -> bool[src]

TODO

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]

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]

Auto Trait Implementations

impl<'a, T> !RefUnwindSafe for Entry<'a, T>

impl<'a, T> Send for Entry<'a, T> where
    T: Send + Sync

impl<'a, T> Sync for Entry<'a, T> where
    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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.