#[repr(u32)]pub enum DataType {
Show 26 variants
Invalid = 0,
FloatBit = 268_435_456,
ComplexBit = 16_777_216,
SignedBit = 536_870_912,
AlternateEncodingBit = 2_147_483_648,
NormalizedBit = 1_073_741_824,
Float32 = 268_435_488,
Float16 = 268_435_472,
ComplexFloat32 = 285_212_736,
ComplexFloat16 = 285_212_704,
Int2 = 536_870_914,
Int4 = 536_870_916,
Int8 = 536_870_920,
Int16 = 536_870_928,
Int32 = 536_870_944,
Int64 = 536_870_976,
UInt2 = 2,
UInt4 = 4,
UInt8 = 8,
UInt16 = 16,
UInt32 = 32,
UInt64 = 64,
Bool = 2_147_483_656,
BFloat16 = 2_415_919_120,
Unorm1 = 1_073_741_825,
Unorm8 = 1_073_741_832,
}Variants§
Invalid = 0
FloatBit = 268_435_456
ComplexBit = 16_777_216
SignedBit = 536_870_912
AlternateEncodingBit = 2_147_483_648
NormalizedBit = 1_073_741_824
Float32 = 268_435_488
Float16 = 268_435_472
ComplexFloat32 = 285_212_736
ComplexFloat16 = 285_212_704
Int2 = 536_870_914
Int4 = 536_870_916
Int8 = 536_870_920
Int16 = 536_870_928
Int32 = 536_870_944
Int64 = 536_870_976
UInt2 = 2
UInt4 = 4
UInt8 = 8
UInt16 = 16
UInt32 = 32
UInt64 = 64
Bool = 2_147_483_656
BFloat16 = 2_415_919_120
Unorm1 = 1_073_741_825
Unorm8 = 1_073_741_832
Trait Implementations§
Source§impl Ord for DataType
impl Ord for DataType
Source§impl PartialOrd for DataType
impl PartialOrd for DataType
Source§impl RefEncode for DataType
impl RefEncode for DataType
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for DataType
impl Eq for DataType
impl StructuralPartialEq for DataType
Auto Trait Implementations§
impl Freeze for DataType
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnwindSafe for DataType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.