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> 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, Outer> IsWrappedBy<Outer> for Twhere
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
impl<T, Outer> IsWrappedBy<Outer> for Twhere Outer: AsRef<T> + AsMut<T> + From<T>, T: From<Outer>,
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,
source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.