Struct jit::TypeKind [] [src]

pub struct TypeKind {
    // some fields omitted
}

Methods

impl TypeKind

const Void: TypeKind = $ BitFlags { bits : $ value }

const SByte: TypeKind = $ BitFlags { bits : $ value }

const UByte: TypeKind = $ BitFlags { bits : $ value }

const Short: TypeKind = $ BitFlags { bits : $ value }

const UShort: TypeKind = $ BitFlags { bits : $ value }

const Int: TypeKind = $ BitFlags { bits : $ value }

const UInt: TypeKind = $ BitFlags { bits : $ value }

const NInt: TypeKind = $ BitFlags { bits : $ value }

const NUInt: TypeKind = $ BitFlags { bits : $ value }

const Long: TypeKind = $ BitFlags { bits : $ value }

const ULong: TypeKind = $ BitFlags { bits : $ value }

const Float32: TypeKind = $ BitFlags { bits : $ value }

const Float64: TypeKind = $ BitFlags { bits : $ value }

const NFloat: TypeKind = $ BitFlags { bits : $ value }

const Struct: TypeKind = $ BitFlags { bits : $ value }

const Union: TypeKind = $ BitFlags { bits : $ value }

const Signature: TypeKind = $ BitFlags { bits : $ value }

const Pointer: TypeKind = $ BitFlags { bits : $ value }

const FirstTagged: TypeKind = $ BitFlags { bits : $ value }

const SysBool: TypeKind = $ BitFlags { bits : $ value }

const SysChar: TypeKind = $ BitFlags { bits : $ value }

fn empty() -> TypeKind

Returns an empty set of flags.

fn all() -> TypeKind

Returns the set containing all flags.

fn bits(&self) -> c_int

Returns the raw value of the flags currently stored.

fn from_bits(bits: c_int) -> Option<TypeKind>

Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.

fn from_bits_truncate(bits: c_int) -> TypeKind

Convert from underlying bit representation, dropping any bits that do not correspond to flags.

fn is_empty(&self) -> bool

Returns true if no flags are currently stored.

fn is_all(&self) -> bool

Returns true if all flags are currently set.

fn intersects(&self, other: TypeKind) -> bool

Returns true if there are flags common to both self and other.

fn contains(&self, other: TypeKind) -> bool

Returns true all of the flags in other are contained within self.

fn insert(&mut self, other: TypeKind)

Inserts the specified flags in-place.

fn remove(&mut self, other: TypeKind)

Removes the specified flags in-place.

fn toggle(&mut self, other: TypeKind)

Toggles the specified flags in-place.

impl TypeKind

const Void: TypeKind = $ BitFlags { bits : $ value }

const SByte: TypeKind = $ BitFlags { bits : $ value }

const UByte: TypeKind = $ BitFlags { bits : $ value }

const Short: TypeKind = $ BitFlags { bits : $ value }

const UShort: TypeKind = $ BitFlags { bits : $ value }

const Int: TypeKind = $ BitFlags { bits : $ value }

const UInt: TypeKind = $ BitFlags { bits : $ value }

const NInt: TypeKind = $ BitFlags { bits : $ value }

const NUInt: TypeKind = $ BitFlags { bits : $ value }

const Long: TypeKind = $ BitFlags { bits : $ value }

const ULong: TypeKind = $ BitFlags { bits : $ value }

const Float32: TypeKind = $ BitFlags { bits : $ value }

const Float64: TypeKind = $ BitFlags { bits : $ value }

const NFloat: TypeKind = $ BitFlags { bits : $ value }

const Struct: TypeKind = $ BitFlags { bits : $ value }

const Union: TypeKind = $ BitFlags { bits : $ value }

const Signature: TypeKind = $ BitFlags { bits : $ value }

const Pointer: TypeKind = $ BitFlags { bits : $ value }

const FirstTagged: TypeKind = $ BitFlags { bits : $ value }

const SysBool: TypeKind = $ BitFlags { bits : $ value }

const SysChar: TypeKind = $ BitFlags { bits : $ value }

fn empty() -> TypeKind

Returns an empty set of flags.

fn all() -> TypeKind

Returns the set containing all flags.

fn bits(&self) -> c_int

Returns the raw value of the flags currently stored.

fn from_bits(bits: c_int) -> Option<TypeKind>

Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.

fn from_bits_truncate(bits: c_int) -> TypeKind

Convert from underlying bit representation, dropping any bits that do not correspond to flags.

fn is_empty(&self) -> bool

Returns true if no flags are currently stored.

fn is_all(&self) -> bool

Returns true if all flags are currently set.

fn intersects(&self, other: TypeKind) -> bool

Returns true if there are flags common to both self and other.

fn contains(&self, other: TypeKind) -> bool

Returns true all of the flags in other are contained within self.

fn insert(&mut self, other: TypeKind)

Inserts the specified flags in-place.

fn remove(&mut self, other: TypeKind)

Removes the specified flags in-place.

fn toggle(&mut self, other: TypeKind)

Toggles the specified flags in-place.

Trait Implementations

impl BitOr for TypeKind

type Output = TypeKind

fn bitor(self, other: TypeKind) -> TypeKind

impl BitXor for TypeKind

type Output = TypeKind

fn bitxor(self, other: TypeKind) -> TypeKind

impl BitAnd for TypeKind

type Output = TypeKind

fn bitand(self, other: TypeKind) -> TypeKind

impl Sub for TypeKind

type Output = TypeKind

fn sub(self, other: TypeKind) -> TypeKind

impl Not for TypeKind

type Output = TypeKind

fn not(self) -> TypeKind

impl BitOr for TypeKind

type Output = TypeKind

fn bitor(self, other: TypeKind) -> TypeKind

impl BitXor for TypeKind

type Output = TypeKind

fn bitxor(self, other: TypeKind) -> TypeKind

impl BitAnd for TypeKind

type Output = TypeKind

fn bitand(self, other: TypeKind) -> TypeKind

impl Sub for TypeKind

type Output = TypeKind

fn sub(self, other: TypeKind) -> TypeKind

impl Not for TypeKind

type Output = TypeKind

fn not(self) -> TypeKind

Derived Implementations

impl Hash for TypeKind

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Ord for TypeKind

fn cmp(&self, __arg_0: &TypeKind) -> Ordering

impl PartialOrd for TypeKind

fn partial_cmp(&self, __arg_0: &TypeKind) -> Option<Ordering>

fn lt(&self, __arg_0: &TypeKind) -> bool

fn le(&self, __arg_0: &TypeKind) -> bool

fn gt(&self, __arg_0: &TypeKind) -> bool

fn ge(&self, __arg_0: &TypeKind) -> bool

impl Clone for TypeKind

fn clone(&self) -> TypeKind

fn clone_from(&mut self, source: &Self)

impl Eq for TypeKind

impl PartialEq for TypeKind

fn eq(&self, __arg_0: &TypeKind) -> bool

fn ne(&self, __arg_0: &TypeKind) -> bool

impl Copy for TypeKind

impl Hash for TypeKind

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Ord for TypeKind

fn cmp(&self, __arg_0: &TypeKind) -> Ordering

impl PartialOrd for TypeKind

fn partial_cmp(&self, __arg_0: &TypeKind) -> Option<Ordering>

fn lt(&self, __arg_0: &TypeKind) -> bool

fn le(&self, __arg_0: &TypeKind) -> bool

fn gt(&self, __arg_0: &TypeKind) -> bool

fn ge(&self, __arg_0: &TypeKind) -> bool

impl Clone for TypeKind

fn clone(&self) -> TypeKind

fn clone_from(&mut self, source: &Self)

impl Eq for TypeKind

impl PartialEq for TypeKind

fn eq(&self, __arg_0: &TypeKind) -> bool

fn ne(&self, __arg_0: &TypeKind) -> bool

impl Copy for TypeKind