pub struct SimpleInstruction {
pub span: Span,
pub dest_info: Option<InsnDestInfo>,
pub args: Vec<Value>,
pub name: Ident,
}Fields§
§span: Span§dest_info: Option<InsnDestInfo>§args: Vec<Value>§name: IdentImplementations§
Trait Implementations§
Source§impl Clone for SimpleInstruction
impl Clone for SimpleInstruction
Source§fn clone(&self) -> SimpleInstruction
fn clone(&self) -> SimpleInstruction
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 SimpleInstruction
impl Debug for SimpleInstruction
Source§impl Display for SimpleInstruction
impl Display for SimpleInstruction
Source§impl From<SimpleInstruction> for RegularInstruction
impl From<SimpleInstruction> for RegularInstruction
Source§fn from(value: SimpleInstruction) -> Self
fn from(value: SimpleInstruction) -> Self
Converts to this type from the input type.
Source§impl FromStr for SimpleInstruction
impl FromStr for SimpleInstruction
Source§impl Hash for SimpleInstruction
impl Hash for SimpleInstruction
Source§impl PartialEq for SimpleInstruction
impl PartialEq for SimpleInstruction
impl Eq for SimpleInstruction
impl StructuralPartialEq for SimpleInstruction
Auto Trait Implementations§
impl Freeze for SimpleInstruction
impl RefUnwindSafe for SimpleInstruction
impl Send for SimpleInstruction
impl Sync for SimpleInstruction
impl Unpin for SimpleInstruction
impl UnwindSafe for SimpleInstruction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.