[−][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]
pub fn clone(&self) -> InstructionPredicateNode[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Eq for InstructionPredicateNode[src]
impl Hash for InstructionPredicateNode[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl Into<InstructionPredicate> for InstructionPredicateNode[src]
pub fn into(self) -> InstructionPredicate[src]
impl PartialEq<InstructionPredicateNode> for InstructionPredicateNode[src]
pub fn eq(&self, other: &InstructionPredicateNode) -> bool[src]
pub fn ne(&self, other: &InstructionPredicateNode) -> bool[src]
impl StructuralEq for InstructionPredicateNode[src]
impl StructuralPartialEq for InstructionPredicateNode[src]
Auto Trait Implementations
impl RefUnwindSafe for InstructionPredicateNode[src]
impl Send for InstructionPredicateNode[src]
impl Sync for InstructionPredicateNode[src]
impl Unpin for InstructionPredicateNode[src]
impl UnwindSafe for InstructionPredicateNode[src]
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,
pub 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.
pub fn to_owned(&self) -> T[src]
pub 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.
pub 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>,