pub struct DataSegment {
pub offset: Option<Value<Vec<Value<Instr>>>>,
pub bytes: Vec<u8>,
pub mode: DataSegmentMode,
}
Fields§
§offset: Option<Value<Vec<Value<Instr>>>>
§bytes: Vec<u8>
§mode: DataSegmentMode
Implementations§
Source§impl DataSegment
impl DataSegment
pub fn compute_offset(&self) -> i64
Trait Implementations§
Source§impl Clone for DataSegment
impl Clone for DataSegment
Source§fn clone(&self) -> DataSegment
fn clone(&self) -> DataSegment
Returns a duplicate 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 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