Struct moore_svlog::mir::Rvalue [−][src]
pub struct Rvalue<'a> {
pub id: NodeId,
pub origin: NodeId,
pub env: ParamEnv,
pub span: Span,
pub ty: &'a UnpackedType<'a>,
pub kind: RvalueKind<'a>,
pub konst: bool,
}
Expand description
An rvalue expression.
Fields
id: NodeId
A unique id.
origin: NodeId
The expression node which spawned this rvalue.
env: ParamEnv
The environment within which the rvalue lives.
span: Span
The span in the source file where the rvalue originates from.
ty: &'a UnpackedType<'a>
The type of the expression.
kind: RvalueKind<'a>
The expression data.
konst: bool
Whether this expression has a constant value.
Implementations
Methods from Deref<Target = RvalueKind<'a>>
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Rvalue<'a>
impl<'a> !UnwindSafe for Rvalue<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more