pub struct ExpressionInfo {
pub uniformity: Uniformity,
pub ref_count: usize,
pub ty: TypeResolution,
/* private fields */
}
Expand description
Information about an expression in a function body.
Fields§
§uniformity: Uniformity
Whether this expression is uniform, and why.
If this expression’s value is not uniform, this is the handle
of the expression from which this one’s non-uniformity
originates. Otherwise, this is None
.
ref_count: usize
The number of statements and other expressions using this expression’s value.
ty: TypeResolution
The type of this expression.
Trait Implementations§
Source§impl Clone for ExpressionInfo
impl Clone for ExpressionInfo
Source§fn clone(&self) -> ExpressionInfo
fn clone(&self) -> ExpressionInfo
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ExpressionInfo
impl RefUnwindSafe for ExpressionInfo
impl Send for ExpressionInfo
impl Sync for ExpressionInfo
impl Unpin for ExpressionInfo
impl UnwindSafe for ExpressionInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)