[−][src]Struct hassle_rs::intellisense::DxcTypeKind
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]
fn clone(&self) -> DxcTypeKind
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for DxcTypeKind
[src]
impl Debug for DxcTypeKind
[src]
impl Eq for DxcTypeKind
[src]
impl Extend<DxcTypeKind> for DxcTypeKind
[src]
fn extend<T: IntoIterator<Item = DxcTypeKind>>(&mut self, iterator: T)
[src]
fn extend_one(&mut self, item: A)
[src]
fn extend_reserve(&mut self, additional: usize)
[src]
impl FromIterator<DxcTypeKind> for DxcTypeKind
[src]
fn from_iter<T: IntoIterator<Item = DxcTypeKind>>(iterator: T) -> DxcTypeKind
[src]
impl Hash for DxcTypeKind
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
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]
fn cmp(&self, other: &DxcTypeKind) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<DxcTypeKind> for DxcTypeKind
[src]
fn eq(&self, other: &DxcTypeKind) -> bool
[src]
fn ne(&self, other: &DxcTypeKind) -> bool
[src]
impl PartialOrd<DxcTypeKind> for DxcTypeKind
[src]
fn partial_cmp(&self, other: &DxcTypeKind) -> Option<Ordering>
[src]
fn lt(&self, other: &DxcTypeKind) -> bool
[src]
fn le(&self, other: &DxcTypeKind) -> bool
[src]
fn gt(&self, other: &DxcTypeKind) -> bool
[src]
fn ge(&self, other: &DxcTypeKind) -> bool
[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
impl RefUnwindSafe for DxcTypeKind
impl Send for DxcTypeKind
impl Sync for DxcTypeKind
impl Unpin for DxcTypeKind
impl UnwindSafe for DxcTypeKind
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,