[][src]Enum cranelift_reader::Feature

pub enum Feature<'a> {
    With(&'a str),
    Without(&'a str),
}

A cranelift feature in a test file preamble.

This represents the expectation of the test case. Before running any of the functions of the test file, the feature set should be compared with the feature set used to compile Cranelift. If there is any differences, then the test file should be skipped.

Variants

With(&'a str)

feature "..." lines

Without(&'a str)

feature ! "..." lines.

Trait Implementations

impl<'a> Eq for Feature<'a>[src]

impl<'a> PartialEq<Feature<'a>> for Feature<'a>[src]

impl<'a> Debug for Feature<'a>[src]

Auto Trait Implementations

impl<'a> Send for Feature<'a>

impl<'a> Unpin for Feature<'a>

impl<'a> Sync for Feature<'a>

impl<'a> RefUnwindSafe for Feature<'a>

impl<'a> UnwindSafe for Feature<'a>

Blanket Implementations

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

impl<T> From<T> for T[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.

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

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

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