[][src]Enum souper_ir::ast::RootAttribute

pub enum RootAttribute {
    DemandedBits(Vec<bool>),
    HarvestedFromUse,
}

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 nth entry in the vector is true, then the nth bit of the result is used. If it is false, then that bit is not used.

HarvestedFromUse

TODO

Trait Implementations

impl Clone for RootAttribute[src]

impl Debug for RootAttribute[src]

impl Display for RootAttribute[src]

impl Parse for RootAttribute[src]

impl Peek for RootAttribute[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.