Enum evmil::bytecode::StructuredSection
source · pub enum StructuredSection {
Data(Vec<u8>),
Code(Vec<Instruction>),
}Variants§
Data(Vec<u8>)
A data section is simply a sequence of zero or more bytes.
Code(Vec<Instruction>)
A code section is a sequence of zero or more instructions along with appropriate metadata.
Trait Implementations§
source§impl Clone for StructuredSection
impl Clone for StructuredSection
source§fn clone(&self) -> StructuredSection
fn clone(&self) -> StructuredSection
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 moresource§impl Debug for StructuredSection
impl Debug for StructuredSection
source§impl PartialEq for StructuredSection
impl PartialEq for StructuredSection
source§fn eq(&self, other: &StructuredSection) -> bool
fn eq(&self, other: &StructuredSection) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StructuredSection
Auto Trait Implementations§
impl RefUnwindSafe for StructuredSection
impl Send for StructuredSection
impl Sync for StructuredSection
impl Unpin for StructuredSection
impl UnwindSafe for StructuredSection
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