pub struct SBInstructionList {
pub raw: SBInstructionListRef,
}Expand description
A list of machine instructions.
Fields§
§raw: SBInstructionListRefThe underlying raw SBInstructionListRef.
Implementations§
Source§impl SBInstructionList
impl SBInstructionList
Sourcepub fn append_instruction(&self, instruction: SBInstruction)
pub fn append_instruction(&self, instruction: SBInstruction)
Append an instruction to this list.
Sourcepub fn iter(&self) -> SBInstructionListIter<'_> ⓘ
pub fn iter(&self) -> SBInstructionListIter<'_> ⓘ
Iterate over this instruction list.
Trait Implementations§
Source§impl Clone for SBInstructionList
impl Clone for SBInstructionList
Source§fn clone(&self) -> SBInstructionList
fn clone(&self) -> SBInstructionList
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 Debug for SBInstructionList
impl Debug for SBInstructionList
Source§impl Drop for SBInstructionList
impl Drop for SBInstructionList
Source§impl<'d> IntoIterator for &'d SBInstructionList
impl<'d> IntoIterator for &'d SBInstructionList
impl Send for SBInstructionList
impl Sync for SBInstructionList
Auto Trait Implementations§
impl Freeze for SBInstructionList
impl RefUnwindSafe for SBInstructionList
impl Unpin for SBInstructionList
impl UnwindSafe for SBInstructionList
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