Struct walrus::ActiveData
source · pub struct ActiveData {
pub memory: MemoryId,
pub location: ActiveDataLocation,
}
Expand description
The parts of a data segment that are only present in active data segments.
Fields§
§memory: MemoryId
The memory that this active data segment will be automatically initialized in.
location: ActiveDataLocation
The memory location where this active data segment will be automatically initialized.
Trait Implementations§
source§impl Clone for ActiveData
impl Clone for ActiveData
source§fn clone(&self) -> ActiveData
fn clone(&self) -> ActiveData
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 ActiveData
impl Send for ActiveData
impl Sync for ActiveData
impl Unpin for ActiveData
impl UnwindSafe for ActiveData
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