Struct falcon::analysis::LocationSet
[−]
[src]
pub struct LocationSet<'r> { pub locations: HashSet<RefProgramLocation<'r>>, }
A partially-ordered set of RefProgramLocation
used in analyses
Fields
locations: HashSet<RefProgramLocation<'r>>
Methods
impl<'r> LocationSet<'r>
[src]
pub fn new() -> LocationSet<'r>
[src]
pub fn contains(&self, location: &RefProgramLocation<'r>) -> bool
[src]
pub fn insert(&mut self, location: RefProgramLocation<'r>)
[src]
pub fn len(&self) -> usize
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn locations(&self) -> &HashSet<RefProgramLocation<'r>>
[src]
pub fn remove(&mut self, location: &RefProgramLocation<'r>)
[src]
Trait Implementations
impl<'r> Clone for LocationSet<'r>
[src]
fn clone(&self) -> LocationSet<'r>
[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
impl<'r> Debug for LocationSet<'r>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'r> PartialOrd for LocationSet<'r>
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more