pub enum ZawrsInstruction<Reg> {
WrsNto { /* private fields */ },
WrsSto { /* private fields */ },
}Expand description
RISC-V Zawrs instruction (Wait-on-Reservation-Set)
Variants§
Trait Implementations§
Source§impl<Reg: Clone> Clone for ZawrsInstruction<Reg>
impl<Reg: Clone> Clone for ZawrsInstruction<Reg>
Source§fn clone(&self) -> ZawrsInstruction<Reg>
fn clone(&self) -> ZawrsInstruction<Reg>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<Reg: Copy> Copy for ZawrsInstruction<Reg>
Source§impl<Reg: Debug> Debug for ZawrsInstruction<Reg>
impl<Reg: Debug> Debug for ZawrsInstruction<Reg>
§impl<Reg> Display for ZawrsInstruction<Reg>where
Reg: Display,
impl<Reg> Display for ZawrsInstruction<Reg>where
Reg: Display,
impl<Reg: Eq> Eq for ZawrsInstruction<Reg>
§impl<Reg> Instruction for ZawrsInstruction<Reg>where
Reg: Register,
impl<Reg> Instruction for ZawrsInstruction<Reg>where
Reg: Register,
§const IMPLEMENTED_EXTENSIONS: &'static [TypeId]
const IMPLEMENTED_EXTENSIONS: &'static [TypeId]
Types of all fully implemented extensions. Read more
§fn try_decode(instruction: u32) -> Option<Self>
fn try_decode(instruction: u32) -> Option<Self>
Try to decode a single valid instruction
Source§fn implements_extension<E>() -> boolwhere
E: Instruction<Reg = Self::Reg>,
fn implements_extension<E>() -> boolwhere
E: Instruction<Reg = Self::Reg>,
Checks whether this instruction implements the given extension
Source§impl<Reg: PartialEq> PartialEq for ZawrsInstruction<Reg>
impl<Reg: PartialEq> PartialEq for ZawrsInstruction<Reg>
impl<Reg: PartialEq> StructuralPartialEq for ZawrsInstruction<Reg>
Auto Trait Implementations§
impl<Reg> Freeze for ZawrsInstruction<Reg>where
Reg: Freeze,
impl<Reg> RefUnwindSafe for ZawrsInstruction<Reg>where
Reg: RefUnwindSafe,
impl<Reg> Send for ZawrsInstruction<Reg>where
Reg: Send,
impl<Reg> Sync for ZawrsInstruction<Reg>where
Reg: Sync,
impl<Reg> Unpin for ZawrsInstruction<Reg>where
Reg: Unpin,
impl<Reg> UnsafeUnpin for ZawrsInstruction<Reg>where
Reg: UnsafeUnpin,
impl<Reg> UnwindSafe for ZawrsInstruction<Reg>where
Reg: 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