pub struct DataSegment<'s> {
pub start: usize,
pub idx: MemIdx,
pub offset: Vec<Instruction>,
pub data: Cow<'s, [u8]>,
}Fields§
§start: usize§idx: MemIdx§offset: Vec<Instruction>§data: Cow<'s, [u8]>Trait Implementations§
Source§impl<'s> Clone for DataSegment<'s>
impl<'s> Clone for DataSegment<'s>
Source§fn clone(&self) -> DataSegment<'s>
fn clone(&self) -> DataSegment<'s>
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 moreSource§impl<'s> Debug for DataSegment<'s>
impl<'s> Debug for DataSegment<'s>
Source§impl<'s> PartialEq for DataSegment<'s>
impl<'s> PartialEq for DataSegment<'s>
impl<'s> StructuralPartialEq for DataSegment<'s>
Auto Trait Implementations§
impl<'s> Freeze for DataSegment<'s>
impl<'s> RefUnwindSafe for DataSegment<'s>
impl<'s> Send for DataSegment<'s>
impl<'s> Sync for DataSegment<'s>
impl<'s> Unpin for DataSegment<'s>
impl<'s> UnwindSafe for DataSegment<'s>
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