pub struct DataSegmentsSnapshot { /* private fields */ }
Expand description
This is a snapshot of data segments specialzied for a particular instantiation.
Note that this assumes that no mutable globals are used.
Implementations§
source§impl DataSegmentsSnapshot
impl DataSegmentsSnapshot
sourcepub fn take(module: &RuntimeBlob) -> Result<Self>
pub fn take(module: &RuntimeBlob) -> Result<Self>
Create a snapshot from the data segments from the module.
Trait Implementations§
source§impl Clone for DataSegmentsSnapshot
impl Clone for DataSegmentsSnapshot
source§fn clone(&self) -> DataSegmentsSnapshot
fn clone(&self) -> DataSegmentsSnapshot
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for DataSegmentsSnapshot
impl Send for DataSegmentsSnapshot
impl Sync for DataSegmentsSnapshot
impl Unpin for DataSegmentsSnapshot
impl UnwindSafe for DataSegmentsSnapshot
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> 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>
§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,
§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.