Enum cranelift_reader::Feature
source · [−]Expand description
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>
impl<'a> StructuralEq for Feature<'a>
impl<'a> StructuralPartialEq for Feature<'a>
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.