[−][src]Struct geo_booleanop::splay::SplaySet
Methods
impl<T, C> SplaySet<T, C> where
C: Fn(&T, &T) -> Ordering,
[src]
C: Fn(&T, &T) -> Ordering,
pub fn new(comparator: C) -> SplaySet<T, C>
[src]
pub fn len(&self) -> usize
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn clear(&mut self)
[src]
pub fn contains(&self, t: &T) -> bool
[src]
pub fn find(&self, t: &T) -> Option<&T>
[src]
pub fn next(&self, t: &T) -> Option<&T>
[src]
pub fn prev(&self, t: &T) -> Option<&T>
[src]
pub fn insert(&mut self, t: T) -> bool
[src]
pub fn remove(&mut self, t: &T) -> bool
[src]
pub fn min(&self) -> Option<&T>
[src]
pub fn max(&self) -> Option<&T>
[src]
Trait Implementations
impl<T, C> IntoIterator for SplaySet<T, C> where
C: Fn(&T, &T) -> Ordering,
[src]
C: Fn(&T, &T) -> Ordering,
type Item = T
The type of the elements being iterated over.
type IntoIter = IntoIter<T>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl<T, C> Extend<T> for SplaySet<T, C> where
C: Fn(&T, &T) -> Ordering,
[src]
C: Fn(&T, &T) -> Ordering,
fn extend<I: IntoIterator<Item = T>>(&mut self, i: I)
[src]
Auto Trait Implementations
impl<T, C> !Sync for SplaySet<T, C>
impl<T, C> Send for SplaySet<T, C> where
C: Send,
T: Send,
C: Send,
T: Send,
impl<T, C> Unpin for SplaySet<T, C> where
C: Unpin,
C: Unpin,
impl<T, C> !RefUnwindSafe for SplaySet<T, C>
impl<T, C> UnwindSafe for SplaySet<T, C> where
C: UnwindSafe,
T: UnwindSafe,
C: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
type Item = <I as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = I
Which kind of iterator are we turning this into?
fn into_iter(self) -> I
[src]
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,