pub enum WildSource<R: Register> {
Register(R),
Global(Global),
Immediate(Immediate),
Constant(ConstantKey),
}
Expand description
Wildcard source operand (register, global, immediate, or constant)
Variants
Register(R)
Global(Global)
Immediate(Immediate)
Constant(ConstantKey)
Trait Implementations
sourceimpl<R: Register> AsSource for WildSource<R>
impl<R: Register> AsSource for WildSource<R>
fn as_first(self) -> Instruction
fn as_second(self) -> Instruction
sourceimpl<R: Clone + Register> Clone for WildSource<R>
impl<R: Clone + Register> Clone for WildSource<R>
sourcefn clone(&self) -> WildSource<R>
fn clone(&self) -> WildSource<R>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<R: Debug + Register> Debug for WildSource<R>
impl<R: Debug + Register> Debug for WildSource<R>
sourceimpl<R: Register> Display for WildSource<R>
impl<R: Register> Display for WildSource<R>
sourceimpl<R: Register> From<ConstantKey> for WildSource<R>
impl<R: Register> From<ConstantKey> for WildSource<R>
sourcefn from(constant: ConstantKey) -> Self
fn from(constant: ConstantKey) -> Self
Converts to this type from the input type.
sourceimpl<R: Register> From<Global> for WildSource<R>
impl<R: Register> From<Global> for WildSource<R>
sourceimpl<R: Register> From<Immediate> for WildSource<R>
impl<R: Register> From<Immediate> for WildSource<R>
Auto Trait Implementations
impl<R> RefUnwindSafe for WildSource<R> where
R: RefUnwindSafe,
impl<R> Send for WildSource<R> where
R: Send,
impl<R> Sync for WildSource<R> where
R: Sync,
impl<R> Unpin for WildSource<R> where
R: Unpin,
impl<R> UnwindSafe for WildSource<R> where
R: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more