pub struct RamLocations {
pub fields: BTreeSet<RamField>,
pub regions: BTreeSet<RamRegion>,
pub objects: BTreeSet<RamObject>,
}Expand description
One direction of the exhaustively classified memory footprint.
The sets are ordered (BTreeSet) rather than hashed: this value is
persisted and compared across runs, so its iteration and wire order must not
depend on hash seeding or insertion order.
Fields§
§fields: BTreeSet<RamField>§regions: BTreeSet<RamRegion>§objects: BTreeSet<RamObject>Implementations§
Source§impl RamLocations
impl RamLocations
Sourcepub fn bases_invisible(&self) -> bool
pub fn bases_invisible(&self) -> bool
Whether nothing in this footprint is observable by any caller: empty, or
Frame/Private-contained (writes into the owner’s own frame, dead at
return, or into a function-private space). This is the argpromote
blocking-call gate’s admission predicate.
Trait Implementations§
Source§impl Clone for RamLocations
impl Clone for RamLocations
Source§fn clone(&self) -> RamLocations
fn clone(&self) -> RamLocations
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RamLocations
impl Debug for RamLocations
Source§impl Default for RamLocations
impl Default for RamLocations
Source§fn default() -> RamLocations
fn default() -> RamLocations
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RamLocations
impl<'de> Deserialize<'de> for RamLocations
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RamLocations
Source§impl Ord for RamLocations
impl Ord for RamLocations
Source§fn cmp(&self, other: &RamLocations) -> Ordering
fn cmp(&self, other: &RamLocations) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for RamLocations
impl PartialEq for RamLocations
Source§impl PartialOrd for RamLocations
impl PartialOrd for RamLocations
Source§impl Serialize for RamLocations
impl Serialize for RamLocations
impl StructuralPartialEq for RamLocations
Auto Trait Implementations§
impl Freeze for RamLocations
impl RefUnwindSafe for RamLocations
impl Send for RamLocations
impl Sync for RamLocations
impl Unpin for RamLocations
impl UnsafeUnpin for RamLocations
impl UnwindSafe for RamLocations
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