Enum rustc_codegen_ssa::mir::rvalue::OperandValueKind
source · enum OperandValueKind {
Ref,
Immediate(Scalar),
Pair(Scalar, Scalar),
ZeroSized,
}
Expand description
The variants of this match OperandValue
, giving details about the
backend values that will be held in that other type.
Variants§
Trait Implementations§
source§impl Clone for OperandValueKind
impl Clone for OperandValueKind
source§fn clone(&self) -> OperandValueKind
fn clone(&self) -> OperandValueKind
Returns a copy 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 OperandValueKind
impl Debug for OperandValueKind
impl Copy for OperandValueKind
Auto Trait Implementations§
impl RefUnwindSafe for OperandValueKind
impl Send for OperandValueKind
impl Sync for OperandValueKind
impl Unpin for OperandValueKind
impl UnwindSafe for OperandValueKind
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 96 bytes
Size for each variant:
Ref
: 0 bytesImmediate
: 48 bytesPair
: 96 bytesZeroSized
: 0 bytes