pub struct DataSegment {
pub location: SegmentLocation,
pub value: Vec<u8>,
}
Expand description
Data segment of data section.
Fields§
§location: SegmentLocation
Location of the segment in the linear memory.
value: Vec<u8>
Raw value of the data segment.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DataSegment
impl !RefUnwindSafe for DataSegment
impl !Send for DataSegment
impl !Sync for DataSegment
impl Unpin for DataSegment
impl !UnwindSafe for DataSegment
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