[−][src]Struct moore_svlog::mir::Rvalue
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: Type<'a>
The type of the expression.
kind: RvalueKind<'a>
The expression data.
konst: bool
Whether this expression has a constant value.
Implementations
impl<'a> Rvalue<'a>
[src]
pub fn is_error(&self) -> bool
[src]
Check whether the rvalue represents a lowering error tombstone.
pub fn is_const(&self) -> bool
[src]
Check whether the rvalue is a constant.
Methods from Deref<Target = RvalueKind<'a>>
pub fn is_error(&self) -> bool
[src]
Check whether the rvalue represents a lowering error tombstone.
pub fn is_const(&self) -> bool
[src]
Check whether this rvalue is a constant.
Trait Implementations
impl<'a> Clone for Rvalue<'a>
[src]
impl<'a> Debug for Rvalue<'a>
[src]
impl<'a> Deref for Rvalue<'a>
[src]
type Target = RvalueKind<'a>
The resulting type after dereferencing.
fn deref(&self) -> &RvalueKind<'a>
[src]
impl<'a> Eq for Rvalue<'a>
[src]
impl<'a> PartialEq<Rvalue<'a>> for Rvalue<'a>
[src]
impl<'a> StructuralEq for Rvalue<'a>
[src]
impl<'a> StructuralPartialEq for Rvalue<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for Rvalue<'a>
impl<'a> Send for Rvalue<'a>
impl<'a> Sync for Rvalue<'a>
impl<'a> Unpin for Rvalue<'a>
impl<'a> UnwindSafe for Rvalue<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Erased for T
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,