pub struct RiscVFunction {
pub name: String,
pub instrs: Vec<RiscVInstr>,
}Expand description
A named RISC-V function / code section.
Fields§
§name: String§instrs: Vec<RiscVInstr>Implementations§
Source§impl RiscVFunction
impl RiscVFunction
Trait Implementations§
Source§impl Clone for RiscVFunction
impl Clone for RiscVFunction
Source§fn clone(&self) -> RiscVFunction
fn clone(&self) -> RiscVFunction
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 RiscVFunction
impl RefUnwindSafe for RiscVFunction
impl Send for RiscVFunction
impl Sync for RiscVFunction
impl Unpin for RiscVFunction
impl UnsafeUnpin for RiscVFunction
impl UnwindSafe for RiscVFunction
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