Struct moras::interface::assembler::InstructionSet
source · pub struct InstructionSet<IS: ParserInstSet + InstructionSetTrait> {
pub line_number: u64,
pub instruction: Instruction<IS>,
pub address: u32,
pub code: u32,
pub basic: String,
}
Fields§
§line_number: u64
§instruction: Instruction<IS>
§address: u32
§code: u32
§basic: String
Implementations§
source§impl<IS: ParserInstSet + InstructionSetTrait> InstructionSet<IS>
impl<IS: ParserInstSet + InstructionSetTrait> InstructionSet<IS>
pub fn new(instruction: Instruction<IS>) -> Self
Trait Implementations§
source§impl<IS: Clone + ParserInstSet + InstructionSetTrait> Clone for InstructionSet<IS>
impl<IS: Clone + ParserInstSet + InstructionSetTrait> Clone for InstructionSet<IS>
source§fn clone(&self) -> InstructionSet<IS>
fn clone(&self) -> InstructionSet<IS>
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 moreAuto Trait Implementations§
impl<IS> Freeze for InstructionSet<IS>
impl<IS> RefUnwindSafe for InstructionSet<IS>where
<IS as ParserInstSet>::Operator: RefUnwindSafe,
<IS as InstructionSetTrait>::Immediate: RefUnwindSafe,
impl<IS> Send for InstructionSet<IS>
impl<IS> Sync for InstructionSet<IS>
impl<IS> Unpin for InstructionSet<IS>
impl<IS> UnwindSafe for InstructionSet<IS>where
<IS as ParserInstSet>::Operator: UnwindSafe,
<IS as InstructionSetTrait>::Immediate: UnwindSafe,
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request