pub struct Hierarchy {
pub is_a: Csr,
pub closure: Closure,
}Expand description
The is-a adjacency and its closure, as one artifact.
Fields§
§is_a: CsrChild-to-parent adjacency.
closure: ClosureThe transitive closure of is_a.
Implementations§
Source§impl Hierarchy
impl Hierarchy
Sourcepub fn size_in_bytes(&self) -> usize
pub fn size_in_bytes(&self) -> usize
The heap bytes the adjacency and the closure hold
(crate::footprint).
Sourcepub fn read_from(input: &mut impl Read) -> Result<Self, PersistError>
pub fn read_from(input: &mut impl Read) -> Result<Self, PersistError>
Trait Implementations§
impl Eq for Hierarchy
impl StructuralPartialEq for Hierarchy
Auto Trait Implementations§
impl Freeze for Hierarchy
impl RefUnwindSafe for Hierarchy
impl Send for Hierarchy
impl Sync for Hierarchy
impl Unpin for Hierarchy
impl UnsafeUnpin for Hierarchy
impl UnwindSafe for Hierarchy
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