Struct cretonne_codegen::settings::PredicateView
[−]
[src]
pub struct PredicateView<'a>(_);
A reference to just the boolean predicates of a settings object.
The settings objects themselves are generated and appear in the isa/*/settings.rs
modules.
Each settings object provides a predicate_view()
method that makes it possible to query
ISA predicates by number.
Methods
impl<'a> PredicateView<'a>
[src]
pub fn new(bits: &'a [u8]) -> PredicateView
[src]
Create a new view of a precomputed predicate vector.
See the predicate_view()
method on the various Flags
types defined for each ISA.
pub fn test(self, p: usize) -> bool
[src]
Check a numbered predicate.
Trait Implementations
impl<'a> Clone for PredicateView<'a>
[src]
fn clone(&self) -> PredicateView<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more