Skip to main content

RTCFormat

Enum RTCFormat 

Source
#[repr(u32)]
pub enum RTCFormat {
Show 68 variants UNDEFINED = 0, UCHAR = 4_097, UCHAR2 = 4_098, UCHAR3 = 4_099, UCHAR4 = 4_100, CHAR = 8_193, CHAR2 = 8_194, CHAR3 = 8_195, CHAR4 = 8_196, USHORT = 12_289, USHORT2 = 12_290, USHORT3 = 12_291, USHORT4 = 12_292, SHORT = 16_385, SHORT2 = 16_386, SHORT3 = 16_387, SHORT4 = 16_388, UINT = 20_481, UINT2 = 20_482, UINT3 = 20_483, UINT4 = 20_484, INT = 24_577, INT2 = 24_578, INT3 = 24_579, INT4 = 24_580, ULLONG = 28_673, ULLONG2 = 28_674, ULLONG3 = 28_675, ULLONG4 = 28_676, LLONG = 32_769, LLONG2 = 32_770, LLONG3 = 32_771, LLONG4 = 32_772, FLOAT = 36_865, FLOAT2 = 36_866, FLOAT3 = 36_867, FLOAT4 = 36_868, FLOAT5 = 36_869, FLOAT6 = 36_870, FLOAT7 = 36_871, FLOAT8 = 36_872, FLOAT9 = 36_873, FLOAT10 = 36_874, FLOAT11 = 36_875, FLOAT12 = 36_876, FLOAT13 = 36_877, FLOAT14 = 36_878, FLOAT15 = 36_879, FLOAT16 = 36_880, FLOAT2X2_ROW_MAJOR = 37_154, FLOAT2X3_ROW_MAJOR = 37_155, FLOAT2X4_ROW_MAJOR = 37_156, FLOAT3X2_ROW_MAJOR = 37_170, FLOAT3X3_ROW_MAJOR = 37_171, FLOAT3X4_ROW_MAJOR = 37_172, FLOAT4X2_ROW_MAJOR = 37_186, FLOAT4X3_ROW_MAJOR = 37_187, FLOAT4X4_ROW_MAJOR = 37_188, FLOAT2X2_COLUMN_MAJOR = 37_410, FLOAT2X3_COLUMN_MAJOR = 37_411, FLOAT2X4_COLUMN_MAJOR = 37_412, FLOAT3X2_COLUMN_MAJOR = 37_426, FLOAT3X3_COLUMN_MAJOR = 37_427, FLOAT3X4_COLUMN_MAJOR = 37_428, FLOAT4X2_COLUMN_MAJOR = 37_442, FLOAT4X3_COLUMN_MAJOR = 37_443, FLOAT4X4_COLUMN_MAJOR = 37_444, GRID = 40_961,
}

Variants§

§

UNDEFINED = 0

§

UCHAR = 4_097

§

UCHAR2 = 4_098

§

UCHAR3 = 4_099

§

UCHAR4 = 4_100

§

CHAR = 8_193

§

CHAR2 = 8_194

§

CHAR3 = 8_195

§

CHAR4 = 8_196

§

USHORT = 12_289

§

USHORT2 = 12_290

§

USHORT3 = 12_291

§

USHORT4 = 12_292

§

SHORT = 16_385

§

SHORT2 = 16_386

§

SHORT3 = 16_387

§

SHORT4 = 16_388

§

UINT = 20_481

§

UINT2 = 20_482

§

UINT3 = 20_483

§

UINT4 = 20_484

§

INT = 24_577

§

INT2 = 24_578

§

INT3 = 24_579

§

INT4 = 24_580

§

ULLONG = 28_673

§

ULLONG2 = 28_674

§

ULLONG3 = 28_675

§

ULLONG4 = 28_676

§

LLONG = 32_769

§

LLONG2 = 32_770

§

LLONG3 = 32_771

§

LLONG4 = 32_772

§

FLOAT = 36_865

§

FLOAT2 = 36_866

§

FLOAT3 = 36_867

§

FLOAT4 = 36_868

§

FLOAT5 = 36_869

§

FLOAT6 = 36_870

§

FLOAT7 = 36_871

§

FLOAT8 = 36_872

§

FLOAT9 = 36_873

§

FLOAT10 = 36_874

§

FLOAT11 = 36_875

§

FLOAT12 = 36_876

§

FLOAT13 = 36_877

§

FLOAT14 = 36_878

§

FLOAT15 = 36_879

§

FLOAT16 = 36_880

§

FLOAT2X2_ROW_MAJOR = 37_154

§

FLOAT2X3_ROW_MAJOR = 37_155

§

FLOAT2X4_ROW_MAJOR = 37_156

§

FLOAT3X2_ROW_MAJOR = 37_170

§

FLOAT3X3_ROW_MAJOR = 37_171

§

FLOAT3X4_ROW_MAJOR = 37_172

§

FLOAT4X2_ROW_MAJOR = 37_186

§

FLOAT4X3_ROW_MAJOR = 37_187

§

FLOAT4X4_ROW_MAJOR = 37_188

§

FLOAT2X2_COLUMN_MAJOR = 37_410

§

FLOAT2X3_COLUMN_MAJOR = 37_411

§

FLOAT2X4_COLUMN_MAJOR = 37_412

§

FLOAT3X2_COLUMN_MAJOR = 37_426

§

FLOAT3X3_COLUMN_MAJOR = 37_427

§

FLOAT3X4_COLUMN_MAJOR = 37_428

§

FLOAT4X2_COLUMN_MAJOR = 37_442

§

FLOAT4X3_COLUMN_MAJOR = 37_443

§

FLOAT4X4_COLUMN_MAJOR = 37_444

§

GRID = 40_961

Trait Implementations§

Source§

impl Clone for RTCFormat

Source§

fn clone(&self) -> RTCFormat

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for RTCFormat

Source§

impl Debug for RTCFormat

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for RTCFormat

Source§

impl Hash for RTCFormat

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for RTCFormat

Source§

fn eq(&self, other: &RTCFormat) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for RTCFormat

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.