[−][src]Enum cranelift_reader::Feature
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> Debug for Feature<'a>
[src]
impl<'a> Eq for Feature<'a>
[src]
impl<'a> PartialEq<Feature<'a>> for Feature<'a>
[src]
impl<'a> StructuralEq for Feature<'a>
[src]
impl<'a> StructuralPartialEq for Feature<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for Feature<'a>
impl<'a> Send for Feature<'a>
impl<'a> Sync for Feature<'a>
impl<'a> Unpin for Feature<'a>
impl<'a> UnwindSafe for Feature<'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<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,