pub struct RelationshipStats {
pub ownership_edges: usize,
pub contains_edges: usize,
pub shares_edges: usize,
pub slice_edges: usize,
pub clone_edges: usize,
}Expand description
Relationship statistics computed from actual graph analysis.
Fields§
§ownership_edges: usizeNumber of ownership edges (A owns heap memory)
contains_edges: usizeNumber of contains edges (Container → HeapOwner)
Number of shares edges (Arc/Rc)
slice_edges: usizeNumber of slice edges (view into sub-region)
clone_edges: usizeNumber of clone edges (copy of another allocation)
Trait Implementations§
Source§impl Clone for RelationshipStats
impl Clone for RelationshipStats
Source§impl Debug for RelationshipStats
impl Debug for RelationshipStats
Auto Trait Implementations§
impl Forget for RelationshipStats
impl Freeze for RelationshipStats
impl RefUnwindSafe for RelationshipStats
impl Send for RelationshipStats
impl Sync for RelationshipStats
impl Unpin for RelationshipStats
impl UnsafeUnpin for RelationshipStats
impl UnwindSafe for RelationshipStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more