[−][src]Enum cranelift_codegen_meta::cdsl::instructions::InstructionPredicateNode
A basic node in an instruction predicate: either an atom, or an AND of two conditions.
Variants
FormatPredicate(FormatPredicateNode)
TypePredicate(TypePredicateNode)
And(Vec<InstructionPredicateNode>)
An AND-combination of two or more other predicates.
An OR-combination of two or more other predicates.
Implementations
impl InstructionPredicateNode
[src]
fn rust_predicate(&self, func_str: &str) -> String
[src]
pub fn format_destructuring_member_name(&self) -> &str
[src]
pub fn format_name(&self) -> &str
[src]
pub fn is_type_predicate(&self) -> bool
[src]
fn collect_leaves(&self) -> Vec<&InstructionPredicateNode>
[src]
Trait Implementations
impl Clone for InstructionPredicateNode
[src]
fn clone(&self) -> InstructionPredicateNode
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Eq for InstructionPredicateNode
[src]
impl Hash for InstructionPredicateNode
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Into<InstructionPredicate> for InstructionPredicateNode
[src]
fn into(self) -> InstructionPredicate
[src]
impl PartialEq<InstructionPredicateNode> for InstructionPredicateNode
[src]
fn eq(&self, other: &InstructionPredicateNode) -> bool
[src]
fn ne(&self, other: &InstructionPredicateNode) -> bool
[src]
impl StructuralEq for InstructionPredicateNode
[src]
impl StructuralPartialEq for InstructionPredicateNode
[src]
Auto Trait Implementations
impl RefUnwindSafe for InstructionPredicateNode
impl Send for InstructionPredicateNode
impl Sync for InstructionPredicateNode
impl Unpin for InstructionPredicateNode
impl UnwindSafe for InstructionPredicateNode
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,