pub struct EncodedInst {
pub word0: u32,
pub word1: Option<u32>,
}Expand description
An encoded WAVE instruction (4 or 8 bytes).
Fields§
§word0: u32First instruction word.
word1: Option<u32>Optional second word for extended instructions.
Implementations§
Trait Implementations§
Source§impl Clone for EncodedInst
impl Clone for EncodedInst
Source§fn clone(&self) -> EncodedInst
fn clone(&self) -> EncodedInst
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 EncodedInst
impl RefUnwindSafe for EncodedInst
impl Send for EncodedInst
impl Sync for EncodedInst
impl Unpin for EncodedInst
impl UnsafeUnpin for EncodedInst
impl UnwindSafe for EncodedInst
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