Struct moore_svlog::mir::Assignment [−][src]
pub struct Assignment<'a> {
pub id: NodeId,
pub env: ParamEnv,
pub span: Span,
pub ty: &'a UnpackedType<'a>,
pub lhs: &'a Lvalue<'a>,
pub rhs: &'a Rvalue<'a>,
}
Expand description
An assignment of an Rvalue
to an Lvalue
.
Fields
id: NodeId
The expression or statement which spawned this assignment.
env: ParamEnv
The environment within which the assignment lives.
span: Span
The span in the source file where the assignment originates from.
ty: &'a UnpackedType<'a>
The type of the assignment.
lhs: &'a Lvalue<'a>
The left-hand side.
rhs: &'a Rvalue<'a>
The right-hand side.
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Assignment<'a>
impl<'a> Send for Assignment<'a>
impl<'a> Sync for Assignment<'a>
impl<'a> Unpin for Assignment<'a>
impl<'a> !UnwindSafe for Assignment<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more