Struct best::BestSet
[−]
[src]
pub struct BestSet<T: PartialOrd>(_);
Methods
impl<T: PartialOrd> BestSet<T>
[src]
pub fn new() -> Self
[src]
pub fn insert_gt(&mut self, value: T)
[src]
pub fn insert_ge(&mut self, value: T)
[src]
pub fn insert_lt(&mut self, value: T)
[src]
pub fn insert_le(&mut self, value: T)
[src]
pub fn get(&self) -> Option<&T>
[src]
pub fn into(self) -> Option<T>
[src]
pub fn len(&self) -> usize
[src]
Trait Implementations
impl<T: Debug + PartialOrd> Debug for BestSet<T>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<T: Clone + PartialOrd> Clone for BestSet<T>
[src]
fn clone(&self) -> BestSet<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more