[][src]Struct hassle_rs::intellisense::DxcTypeKind

pub struct DxcTypeKind { /* fields omitted */ }

Implementations

impl DxcTypeKind[src]

pub const Invalid: DxcTypeKind[src]

pub const Unexposed: DxcTypeKind[src]

pub const Void: DxcTypeKind[src]

pub const Bool: DxcTypeKind[src]

pub const Char_U: DxcTypeKind[src]

pub const UChar: DxcTypeKind[src]

pub const Char16: DxcTypeKind[src]

pub const Char32: DxcTypeKind[src]

pub const UShort: DxcTypeKind[src]

pub const UInt: DxcTypeKind[src]

pub const ULong: DxcTypeKind[src]

pub const ULongLong: DxcTypeKind[src]

pub const UInt128: DxcTypeKind[src]

pub const Char_S: DxcTypeKind[src]

pub const SChar: DxcTypeKind[src]

pub const WChar: DxcTypeKind[src]

pub const Short: DxcTypeKind[src]

pub const Int: DxcTypeKind[src]

pub const Long: DxcTypeKind[src]

pub const LongLong: DxcTypeKind[src]

pub const Int128: DxcTypeKind[src]

pub const Float: DxcTypeKind[src]

pub const Double: DxcTypeKind[src]

pub const LongDouble: DxcTypeKind[src]

pub const NullPtr: DxcTypeKind[src]

pub const Overload: DxcTypeKind[src]

pub const Dependent: DxcTypeKind[src]

pub const ObjCId: DxcTypeKind[src]

pub const ObjCClass: DxcTypeKind[src]

pub const ObjCSel: DxcTypeKind[src]

pub const FirstBuiltin: DxcTypeKind[src]

pub const LastBuiltin: DxcTypeKind[src]

pub const Complex: DxcTypeKind[src]

pub const Pointer: DxcTypeKind[src]

pub const BlockPointer: DxcTypeKind[src]

pub const LValueReference: DxcTypeKind[src]

pub const RValueReference: DxcTypeKind[src]

pub const Record: DxcTypeKind[src]

pub const Enum: DxcTypeKind[src]

pub const Typedef: DxcTypeKind[src]

pub const ObjCInterface: DxcTypeKind[src]

pub const ObjCObjectPointer: DxcTypeKind[src]

pub const FunctionNoProto: DxcTypeKind[src]

pub const FunctionProto: DxcTypeKind[src]

pub const ConstantArray: DxcTypeKind[src]

pub const Vector: DxcTypeKind[src]

pub const IncompleteArray: DxcTypeKind[src]

pub const VariableArray: DxcTypeKind[src]

pub const DependentSizedArray: DxcTypeKind[src]

pub const MemberPointer: DxcTypeKind[src]

pub const fn empty() -> DxcTypeKind[src]

Returns an empty set of flags

pub const fn all() -> DxcTypeKind[src]

Returns the set containing all flags.

pub const fn bits(&self) -> u32[src]

Returns the raw value of the flags currently stored.

pub fn from_bits(bits: u32) -> Option<DxcTypeKind>[src]

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

pub const fn from_bits_truncate(bits: u32) -> DxcTypeKind[src]

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

pub const unsafe fn from_bits_unchecked(bits: u32) -> DxcTypeKind[src]

Convert from underlying bit representation, preserving all bits (even those not corresponding to a defined flag).

pub const fn is_empty(&self) -> bool[src]

Returns true if no flags are currently stored.

pub const fn is_all(&self) -> bool[src]

Returns true if all flags are currently set.

pub const fn intersects(&self, other: DxcTypeKind) -> bool[src]

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

pub const fn contains(&self, other: DxcTypeKind) -> bool[src]

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

pub fn insert(&mut self, other: DxcTypeKind)[src]

Inserts the specified flags in-place.

pub fn remove(&mut self, other: DxcTypeKind)[src]

Removes the specified flags in-place.

pub fn toggle(&mut self, other: DxcTypeKind)[src]

Toggles the specified flags in-place.

pub fn set(&mut self, other: DxcTypeKind, value: bool)[src]

Inserts or removes the specified flags depending on the passed value.

Trait Implementations

impl Binary for DxcTypeKind[src]

impl BitAnd<DxcTypeKind> for DxcTypeKind[src]

type Output = DxcTypeKind

The resulting type after applying the & operator.

fn bitand(self, other: DxcTypeKind) -> DxcTypeKind[src]

Returns the intersection between the two sets of flags.

impl BitAndAssign<DxcTypeKind> for DxcTypeKind[src]

fn bitand_assign(&mut self, other: DxcTypeKind)[src]

Disables all flags disabled in the set.

impl BitOr<DxcTypeKind> for DxcTypeKind[src]

type Output = DxcTypeKind

The resulting type after applying the | operator.

fn bitor(self, other: DxcTypeKind) -> DxcTypeKind[src]

Returns the union of the two sets of flags.

impl BitOrAssign<DxcTypeKind> for DxcTypeKind[src]

fn bitor_assign(&mut self, other: DxcTypeKind)[src]

Adds the set of flags.

impl BitXor<DxcTypeKind> for DxcTypeKind[src]

type Output = DxcTypeKind

The resulting type after applying the ^ operator.

fn bitxor(self, other: DxcTypeKind) -> DxcTypeKind[src]

Returns the left flags, but with all the right flags toggled.

impl BitXorAssign<DxcTypeKind> for DxcTypeKind[src]

fn bitxor_assign(&mut self, other: DxcTypeKind)[src]

Toggles the set of flags.

impl Clone for DxcTypeKind[src]

impl Copy for DxcTypeKind[src]

impl Debug for DxcTypeKind[src]

impl Eq for DxcTypeKind[src]

impl Extend<DxcTypeKind> for DxcTypeKind[src]

impl FromIterator<DxcTypeKind> for DxcTypeKind[src]

impl Hash for DxcTypeKind[src]

impl LowerHex for DxcTypeKind[src]

impl Not for DxcTypeKind[src]

type Output = DxcTypeKind

The resulting type after applying the ! operator.

fn not(self) -> DxcTypeKind[src]

Returns the complement of this set of flags.

impl Octal for DxcTypeKind[src]

impl Ord for DxcTypeKind[src]

impl PartialEq<DxcTypeKind> for DxcTypeKind[src]

impl PartialOrd<DxcTypeKind> for DxcTypeKind[src]

impl StructuralEq for DxcTypeKind[src]

impl StructuralPartialEq for DxcTypeKind[src]

impl Sub<DxcTypeKind> for DxcTypeKind[src]

type Output = DxcTypeKind

The resulting type after applying the - operator.

fn sub(self, other: DxcTypeKind) -> DxcTypeKind[src]

Returns the set difference of the two sets of flags.

impl SubAssign<DxcTypeKind> for DxcTypeKind[src]

fn sub_assign(&mut self, other: DxcTypeKind)[src]

Disables all flags enabled in the set.

impl UpperHex for DxcTypeKind[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.