pub enum Operand {
Copy(Place),
Move(Place),
Constant(Constant),
}Expand description
Operand - a value used in an operation
Variants§
Copy(Place)
Copy a value from a place
Move(Place)
Move a value from a place
Constant(Constant)
Constant value
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Operand
impl RefUnwindSafe for Operand
impl Send for Operand
impl Sync for Operand
impl Unpin for Operand
impl UnwindSafe for Operand
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