[][src]Enum cranelift_codegen_meta::cdsl::instructions::TypePredicateNode

pub(crate) enum TypePredicateNode {
    TypeVarCheck(usizeString),
    CtrlTypeVarCheck(String),
}

Variants

TypeVarCheck(usizeString)

Is the value argument (at the index designated by the first member) the same type as the type name (second member)?

CtrlTypeVarCheck(String)

Is the controlling type variable the same type as the one designated by the type name (only member)?

Methods

impl TypePredicateNode[src]

fn rust_predicate(&self, func_str: &str) -> String[src]

Trait Implementations

impl Clone for TypePredicateNode[src]

impl Eq for TypePredicateNode[src]

impl Hash for TypePredicateNode[src]

impl PartialEq<TypePredicateNode> for TypePredicateNode[src]

impl StructuralEq for TypePredicateNode[src]

impl StructuralPartialEq for TypePredicateNode[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.