Trait rupta::pts_set::points_to::PointsToSet
source · pub trait PointsToSet<T> {
type Iter<'a>: Iterator<Item = T>
where Self: 'a;
// Required methods
fn new() -> Self;
fn clear(&mut self);
fn count(&self) -> usize;
fn contains(&self, elem: T) -> bool;
fn is_empty(&self) -> bool;
fn superset(&self, other: &Self) -> bool;
fn insert(&mut self, elem: T) -> bool;
fn remove(&mut self, elem: T) -> bool;
fn union(&mut self, other: &Self) -> bool;
fn subtract(&mut self, other: &Self) -> bool;
fn intersect(&mut self, other: &Self) -> bool;
fn iter<'a>(&'a self) -> Self::Iter<'a>;
}Required Associated Types§
Required Methods§
fn new() -> Self
fn clear(&mut self)
fn count(&self) -> usize
fn contains(&self, elem: T) -> bool
fn is_empty(&self) -> bool
fn superset(&self, other: &Self) -> bool
fn insert(&mut self, elem: T) -> bool
fn remove(&mut self, elem: T) -> bool
fn union(&mut self, other: &Self) -> bool
fn subtract(&mut self, other: &Self) -> bool
fn intersect(&mut self, other: &Self) -> bool
fn iter<'a>(&'a self) -> Self::Iter<'a>
Object Safety§
This trait is not object safe.