pub struct DataSegmentOutput { /* private fields */ }Expand description
Representation of calculated data segment for output module. Contain data chunk
Implementations§
Source§impl DataSegmentOutput
impl DataSegmentOutput
pub fn data_segment<'a>(&'a self, memory_index: u32) -> DataSegment<'a, Vec<u8>>
pub fn as_raw(&self) -> &[u8] ⓘ
pub fn memory_offset(&self) -> usize
pub fn symbols(&self) -> &BTreeMap<Id<SymbolRecord<'static>>, DataSymbolRefs>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DataSegmentOutput
impl RefUnwindSafe for DataSegmentOutput
impl Send for DataSegmentOutput
impl Sync for DataSegmentOutput
impl Unpin for DataSegmentOutput
impl UnsafeUnpin for DataSegmentOutput
impl UnwindSafe for DataSegmentOutput
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