pub struct PointsToSet {
pub locations: HashSet<MemLocation>,
pub may_alias_unknown: bool,
}Expand description
Points-to set (abstract)
Fields§
§locations: HashSet<MemLocation>§may_alias_unknown: boolImplementations§
Source§impl PointsToSet
impl PointsToSet
pub fn new() -> Self
pub fn top() -> Self
pub fn singleton(loc: MemLocation) -> Self
pub fn add(&mut self, loc: MemLocation)
pub fn union_with(&mut self, other: &PointsToSet)
pub fn may_alias(&self, other: &PointsToSet) -> bool
pub fn must_alias(&self, other: &PointsToSet) -> bool
pub fn is_empty(&self) -> bool
pub fn size(&self) -> usize
Trait Implementations§
Source§impl Clone for PointsToSet
impl Clone for PointsToSet
Source§fn clone(&self) -> PointsToSet
fn clone(&self) -> PointsToSet
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PointsToSet
impl Debug for PointsToSet
Source§impl Default for PointsToSet
impl Default for PointsToSet
Source§fn default() -> PointsToSet
fn default() -> PointsToSet
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PointsToSet
impl RefUnwindSafe for PointsToSet
impl Send for PointsToSet
impl Sync for PointsToSet
impl Unpin for PointsToSet
impl UnsafeUnpin for PointsToSet
impl UnwindSafe for PointsToSet
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more