pub struct Source {
pub word: usize,
pub register: Register,
pub swizzle: [u8; 4],
pub modifier: Modifier,
pub relative: Option<Relative>,
}Expand description
A source operand.
Fields§
§word: usizeThe word of the operand token.
register: RegisterThe register read.
swizzle: [u8; 4]The lane of the register (0 x to 3 w) each of the operand’s x, y, z and w reads: bits 16 to 23, two per lane.
modifier: ModifierThe source modifier.
relative: Option<Relative>The index register, for a relatively addressed source.
Trait Implementations§
impl Copy for Source
impl Eq for Source
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Forget for Source
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Source
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