pub enum RValue {
Use(Operand, Span),
Ref(bool, Operand, Span),
BinOp(BinOp, Operand, Operand, Span),
LogicOp(LogicalOp, Operand, Operand, Span),
UnOp(UnOp, Operand, Span),
Cast(Operand, TypeInfo, Span),
}
Variants§
Use(Operand, Span)
Ref(bool, Operand, Span)
BinOp(BinOp, Operand, Operand, Span)
LogicOp(LogicalOp, Operand, Operand, Span)
UnOp(UnOp, Operand, Span)
Cast(Operand, TypeInfo, Span)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for RValue
impl Send for RValue
impl Sync for RValue
impl Unpin for RValue
impl UnwindSafe for RValue
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