pub struct SealedDeclarationSnapshot { /* private fields */ }Expand description
SealedDeclarationSnapshot
Immutable, canonical linked-program allocation declarations and range
authority supplied to each concrete crate::MemoryRuntime.
Sealing runs generated registration hooks and eager declaration hooks exactly once. Clones share the same immutable snapshot. This value contains declaration authority only; it contains no memory handles, recovery state, bootstrap lifecycle, or committed allocation capability.
Implementations§
Source§impl SealedDeclarationSnapshot
impl SealedDeclarationSnapshot
Sourcepub fn allocation_snapshot(&self) -> &DeclarationSnapshot
pub fn allocation_snapshot(&self) -> &DeclarationSnapshot
Borrow the canonical allocation snapshot, including runtime governance.
Sourcepub fn registered_declarations(&self) -> &[StaticMemoryDeclaration]
pub fn registered_declarations(&self) -> &[StaticMemoryDeclaration]
Borrow canonical external declarations registered by linked code.
Sourcepub fn registered_ranges(&self) -> &[StaticMemoryRangeDeclaration]
pub fn registered_ranges(&self) -> &[StaticMemoryRangeDeclaration]
Borrow canonical external range declarations registered by linked code.
Borrow the effective range authority, including runtime governance.
Trait Implementations§
Source§impl Clone for SealedDeclarationSnapshot
impl Clone for SealedDeclarationSnapshot
Source§fn clone(&self) -> SealedDeclarationSnapshot
fn clone(&self) -> SealedDeclarationSnapshot
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 SealedDeclarationSnapshot
impl Debug for SealedDeclarationSnapshot
impl Eq for SealedDeclarationSnapshot
impl StructuralPartialEq for SealedDeclarationSnapshot
Auto Trait Implementations§
impl Freeze for SealedDeclarationSnapshot
impl RefUnwindSafe for SealedDeclarationSnapshot
impl Send for SealedDeclarationSnapshot
impl Sync for SealedDeclarationSnapshot
impl Unpin for SealedDeclarationSnapshot
impl UnsafeUnpin for SealedDeclarationSnapshot
impl UnwindSafe for SealedDeclarationSnapshot
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