pub enum RootAttribute {
DemandedBits(Vec<bool>),
HarvestedFromUse,
}
Expand description
Attributes describing data-flow facts known about the root of a left- or right-hand side.
Variants§
DemandedBits(Vec<bool>)
Which bits of the resulting value are actually used.
The vector must have a boolean for each bit in the result type, e.g. if
the result type is i32
, then the vector’s length must be 32.
If the n
th entry in the vector is true
, then the n
th bit of the
result is used. If it is false
, then that bit is not used.
HarvestedFromUse
TODO
Trait Implementations§
Source§impl Clone for RootAttribute
impl Clone for RootAttribute
Source§fn clone(&self) -> RootAttribute
fn clone(&self) -> RootAttribute
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 moreSource§impl Debug for RootAttribute
impl Debug for RootAttribute
Source§impl Display for RootAttribute
impl Display for RootAttribute
Source§impl Parse for RootAttribute
impl Parse for RootAttribute
Auto Trait Implementations§
impl Freeze for RootAttribute
impl RefUnwindSafe for RootAttribute
impl Send for RootAttribute
impl Sync for RootAttribute
impl Unpin for RootAttribute
impl UnwindSafe for RootAttribute
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
)