Struct rustc_llvm::ffi::debuginfo::DIFlags
[−]
#[repr(C)]pub struct DIFlags { /* fields omitted */ }
rustc_private)Methods
impl DIFlags
const FlagZero: DIFlags
rustc_private)FlagZero: DIFlagsAngleBracketed { lifetimes: [], types: [], bindings: [] } = DIFlags{bits: 0,}
const FlagPrivate: DIFlags
rustc_private)FlagPrivate: DIFlagsAngleBracketed { lifetimes: [], types: [], bindings: [] } = DIFlags{bits: 1,}
const FlagProtected: DIFlags
rustc_private)FlagProtected: DIFlagsAngleBracketed { lifetimes: [], types: [], bindings: [] } = DIFlags{bits: 2,}
const FlagPublic: DIFlags
rustc_private)FlagPublic: DIFlagsAngleBracketed { lifetimes: [], types: [], bindings: [] } = DIFlags{bits: 3,}
const FlagFwdDecl: DIFlags
rustc_private)FlagFwdDecl: DIFlagsAngleBracketed { lifetimes: [], types: [], bindings: [] } = DIFlags{bits: 1 << 2,}
const FlagAppleBlock: DIFlags
rustc_private)FlagAppleBlock: DIFlagsAngleBracketed { lifetimes: [], types: [], bindings: [] } = DIFlags{bits: 1 << 3,}
const FlagBlockByrefStruct: DIFlags
rustc_private)FlagBlockByrefStruct: DIFlagsAngleBracketed { lifetimes: [], types: [], bindings: [] } = DIFlags{bits: 1 << 4,}
const FlagVirtual: DIFlags
rustc_private)FlagVirtual: DIFlagsAngleBracketed { lifetimes: [], types: [], bindings: [] } = DIFlags{bits: 1 << 5,}
const FlagArtificial: DIFlags
rustc_private)FlagArtificial: DIFlagsAngleBracketed { lifetimes: [], types: [], bindings: [] } = DIFlags{bits: 1 << 6,}
const FlagExplicit: DIFlags
rustc_private)FlagExplicit: DIFlagsAngleBracketed { lifetimes: [], types: [], bindings: [] } = DIFlags{bits: 1 << 7,}
const FlagPrototyped: DIFlags
rustc_private)FlagPrototyped: DIFlagsAngleBracketed { lifetimes: [], types: [], bindings: [] } = DIFlags{bits: 1 << 8,}
const FlagObjcClassComplete: DIFlags
rustc_private)FlagObjcClassComplete: DIFlagsAngleBracketed { lifetimes: [], types: [], bindings: [] } = DIFlags{bits: 1 << 9,}
const FlagObjectPointer: DIFlags
rustc_private)FlagObjectPointer: DIFlagsAngleBracketed { lifetimes: [], types: [], bindings: [] } = DIFlags{bits: 1 << 10,}
const FlagVector: DIFlags
rustc_private)FlagVector: DIFlagsAngleBracketed { lifetimes: [], types: [], bindings: [] } = DIFlags{bits: 1 << 11,}
const FlagStaticMember: DIFlags
rustc_private)FlagStaticMember: DIFlagsAngleBracketed { lifetimes: [], types: [], bindings: [] } = DIFlags{bits: 1 << 12,}
const FlagLValueReference: DIFlags
rustc_private)FlagLValueReference: DIFlagsAngleBracketed { lifetimes: [], types: [], bindings: [] } = DIFlags{bits: 1 << 13,}
const FlagRValueReference: DIFlags
rustc_private)FlagRValueReference: DIFlagsAngleBracketed { lifetimes: [], types: [], bindings: [] } = DIFlags{bits: 1 << 14,}
const FlagMainSubprogram: DIFlags
rustc_private)FlagMainSubprogram: DIFlagsAngleBracketed { lifetimes: [], types: [], bindings: [] } = DIFlags{bits: 1 << 21,}
fn empty() -> DIFlags
rustc_private)Returns an empty set of flags.
fn all() -> DIFlags
rustc_private)Returns the set containing all flags.
fn bits(&self) -> uint32_t
rustc_private)Returns the raw value of the flags currently stored.
fn from_bits(bits: uint32_t) -> Option<DIFlags>
rustc_private)Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.
fn from_bits_truncate(bits: uint32_t) -> DIFlags
rustc_private)Convert from underlying bit representation, dropping any bits that do not correspond to flags.
fn is_empty(&self) -> bool
rustc_private)Returns true if no flags are currently stored.
fn is_all(&self) -> bool
rustc_private)Returns true if all flags are currently set.
fn intersects(&self, other: DIFlags) -> bool
rustc_private)Returns true if there are flags common to both self and other.
fn contains(&self, other: DIFlags) -> bool
rustc_private)Returns true if all of the flags in other are contained within self.
fn insert(&mut self, other: DIFlags)
rustc_private)Inserts the specified flags in-place.
fn remove(&mut self, other: DIFlags)
rustc_private)Removes the specified flags in-place.
fn toggle(&mut self, other: DIFlags)
rustc_private)Toggles the specified flags in-place.
Trait Implementations
impl Copy for DIFlags
impl PartialEq for DIFlags
fn eq(&self, __arg_0: &DIFlags) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &DIFlags) -> bool
This method tests for !=.
impl Eq for DIFlags
impl Clone for DIFlags
fn clone(&self) -> DIFlags
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl PartialOrd for DIFlags
fn partial_cmp(&self, __arg_0: &DIFlags) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, __arg_0: &DIFlags) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, __arg_0: &DIFlags) -> bool
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, __arg_0: &DIFlags) -> bool
This method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, __arg_0: &DIFlags) -> bool
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Ord for DIFlags
fn cmp(&self, __arg_0: &DIFlags) -> Ordering
This method returns an Ordering between self and other. Read more
impl Hash for DIFlags
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl Debug for DIFlags[src]
impl Default for DIFlags[src]
impl BitOr for DIFlags
type Output = DIFlags
The resulting type after applying the | operator
fn bitor(self, other: DIFlags) -> DIFlags
Returns the union of the two sets of flags.
impl BitXor for DIFlags
type Output = DIFlags
The resulting type after applying the ^ operator
fn bitxor(self, other: DIFlags) -> DIFlags
Returns the left flags, but with all the right flags toggled.
impl BitAnd for DIFlags
type Output = DIFlags
The resulting type after applying the & operator
fn bitand(self, other: DIFlags) -> DIFlags
Returns the intersection between the two sets of flags.
impl Sub for DIFlags
type Output = DIFlags
The resulting type after applying the - operator
fn sub(self, other: DIFlags) -> DIFlags
Returns the set difference of the two sets of flags.