pub struct MemoryUsage {
pub direct: SetDomain<QualifiedInstId<StructId>>,
pub transitive: SetDomain<QualifiedInstId<StructId>>,
pub all: SetDomain<QualifiedInstId<StructId>>,
}
Expand description
A summary of the memory accessed / modified per function, both directly and transitively.
Fields
direct: SetDomain<QualifiedInstId<StructId>>
transitive: SetDomain<QualifiedInstId<StructId>>
all: SetDomain<QualifiedInstId<StructId>>
Implementations
sourceimpl MemoryUsage
impl MemoryUsage
pub fn get_direct_inst(
&self,
inst: &[Type]
) -> BTreeSet<QualifiedInstId<StructId>>
pub fn get_transitive_inst(
&self,
inst: &[Type]
) -> BTreeSet<QualifiedInstId<StructId>>
pub fn get_all_inst(&self, inst: &[Type]) -> BTreeSet<QualifiedInstId<StructId>>
pub fn get_direct_uninst(&self) -> BTreeSet<QualifiedId<StructId>>
pub fn get_transitive_uninst(&self) -> BTreeSet<QualifiedId<StructId>>
pub fn get_all_uninst(&self) -> BTreeSet<QualifiedId<StructId>>
Trait Implementations
sourceimpl AbstractDomain for MemoryUsage
impl AbstractDomain for MemoryUsage
fn join(&mut self, other: &Self) -> JoinResult
sourceimpl Clone for MemoryUsage
impl Clone for MemoryUsage
sourcefn clone(&self) -> MemoryUsage
fn clone(&self) -> MemoryUsage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for MemoryUsage
impl Default for MemoryUsage
sourcefn default() -> MemoryUsage
fn default() -> MemoryUsage
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for MemoryUsage
impl Send for MemoryUsage
impl Sync for MemoryUsage
impl Unpin for MemoryUsage
impl UnwindSafe for MemoryUsage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more