Struct lldb::TypeClass
[−]
[src]
#[repr(C)]pub struct TypeClass { /* fields omitted */ }
Methods
impl TypeClass
[src]
const INVALID: TypeClass
INVALID: TypeClass = TypeClass{bits: 0,}
const ARRAY: TypeClass
ARRAY: TypeClass = TypeClass{bits: 1,}
const BLOCKPOINTER: TypeClass
BLOCKPOINTER: TypeClass = TypeClass{bits: 2,}
const BUILTIN: TypeClass
BUILTIN: TypeClass = TypeClass{bits: 4,}
const CLASS: TypeClass
CLASS: TypeClass = TypeClass{bits: 8,}
const COMPLEX_FLOAT: TypeClass
COMPLEX_FLOAT: TypeClass = TypeClass{bits: 16,}
const COMPLEX_INTEGER: TypeClass
COMPLEX_INTEGER: TypeClass = TypeClass{bits: 32,}
const ENUMERATION: TypeClass
ENUMERATION: TypeClass = TypeClass{bits: 64,}
const FUNCTION: TypeClass
FUNCTION: TypeClass = TypeClass{bits: 128,}
const MEMBER_POINTER: TypeClass
MEMBER_POINTER: TypeClass = TypeClass{bits: 256,}
const OBJC_OBJECT: TypeClass
OBJC_OBJECT: TypeClass = TypeClass{bits: 512,}
const OBJC_INTERFACE: TypeClass
OBJC_INTERFACE: TypeClass = TypeClass{bits: 1024,}
const OBJC_OBJECT_POINTER: TypeClass
OBJC_OBJECT_POINTER: TypeClass = TypeClass{bits: 2048,}
const POINTER: TypeClass
POINTER: TypeClass = TypeClass{bits: 4096,}
const REFERENCE: TypeClass
REFERENCE: TypeClass = TypeClass{bits: 8192,}
const STRUCT: TypeClass
STRUCT: TypeClass = TypeClass{bits: 16384,}
const TYPEDEF: TypeClass
TYPEDEF: TypeClass = TypeClass{bits: 32768,}
const UNION: TypeClass
UNION: TypeClass = TypeClass{bits: 65536,}
const VECTOR: TypeClass
VECTOR: TypeClass = TypeClass{bits: 131072,}
const OTHER: TypeClass
OTHER: TypeClass = TypeClass{bits: 2147483648,}
const ANY: TypeClass
ANY: TypeClass = TypeClass{bits: 4294967295,}
fn empty() -> TypeClass
[src]
Returns an empty set of flags.
fn all() -> TypeClass
[src]
Returns the set containing all flags.
fn bits(&self) -> u32
[src]
Returns the raw value of the flags currently stored.
fn from_bits(bits: u32) -> Option<TypeClass>
[src]
Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.
fn from_bits_truncate(bits: u32) -> TypeClass
[src]
Convert from underlying bit representation, dropping any bits that do not correspond to flags.
fn is_empty(&self) -> bool
[src]
Returns true
if no flags are currently stored.
fn is_all(&self) -> bool
[src]
Returns true
if all flags are currently set.
fn intersects(&self, other: TypeClass) -> bool
[src]
Returns true
if there are flags common to both self
and other
.
fn contains(&self, other: TypeClass) -> bool
[src]
Returns true
all of the flags in other
are contained within self
.
fn insert(&mut self, other: TypeClass)
[src]
Inserts the specified flags in-place.
fn remove(&mut self, other: TypeClass)
[src]
Removes the specified flags in-place.
fn toggle(&mut self, other: TypeClass)
[src]
Toggles the specified flags in-place.
fn set(&mut self, other: TypeClass, value: bool)
[src]
Inserts or removes the specified flags depending on the passed value.
Trait Implementations
impl Sub<TypeClass> for TypeClass
[src]
type Output = TypeClass
fn sub(self, other: TypeClass) -> TypeClass
[src]
Returns the set difference of the two sets of flags.
impl Clone for TypeClass
[src]
fn clone(&self) -> TypeClass
[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
impl Copy for TypeClass
[src]
impl Not for TypeClass
[src]
impl Octal for TypeClass
[src]
impl BitXor<TypeClass> for TypeClass
[src]
type Output = TypeClass
fn bitxor(self, other: TypeClass) -> TypeClass
[src]
Returns the left flags, but with all the right flags toggled.
impl BitOr<TypeClass> for TypeClass
[src]
type Output = TypeClass
fn bitor(self, other: TypeClass) -> TypeClass
[src]
Returns the union of the two sets of flags.
impl Debug for TypeClass
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.
impl BitOrAssign<TypeClass> for TypeClass
[src]
fn bitor_assign(&mut self, other: TypeClass)
[src]
Adds the set of flags.
impl Eq for TypeClass
[src]
impl PartialEq<TypeClass> for TypeClass
[src]
impl SubAssign<TypeClass> for TypeClass
[src]
fn sub_assign(&mut self, other: TypeClass)
[src]
Disables all flags enabled in the set.
impl Hash for TypeClass
[src]
impl UpperHex for TypeClass
[src]
impl BitAnd<TypeClass> for TypeClass
[src]
type Output = TypeClass
fn bitand(self, other: TypeClass) -> TypeClass
[src]
Returns the intersection between the two sets of flags.
impl BitXorAssign<TypeClass> for TypeClass
[src]
fn bitxor_assign(&mut self, other: TypeClass)
[src]
Toggles the set of flags.
impl BitAndAssign<TypeClass> for TypeClass
[src]
fn bitand_assign(&mut self, other: TypeClass)
[src]
Disables all flags disabled in the set.
impl PartialOrd<TypeClass> for TypeClass
[src]
fn partial_cmp(&self, __arg_0: &TypeClass) -> Option<Ordering>
[src]
fn lt(&self, __arg_0: &TypeClass) -> bool
[src]
fn le(&self, __arg_0: &TypeClass) -> bool
[src]
fn gt(&self, __arg_0: &TypeClass) -> bool
[src]
fn ge(&self, __arg_0: &TypeClass) -> bool
[src]
impl Ord for TypeClass
[src]
impl Extend<TypeClass> for TypeClass
[src]
fn extend<T>(&mut self, iterator: T) where
T: IntoIterator<Item = TypeClass>,
[src]
T: IntoIterator<Item = TypeClass>,
impl Binary for TypeClass
[src]
impl LowerHex for TypeClass
[src]
impl FromIterator<TypeClass> for TypeClass
[src]
fn from_iter<T>(iterator: T) -> TypeClass where
T: IntoIterator<Item = TypeClass>,
[src]
T: IntoIterator<Item = TypeClass>,