pub struct ComponentTypeKHR(/* private fields */);Expand description
Implementations§
Source§impl ComponentTypeKHR
impl ComponentTypeKHR
pub const FLOAT16: ComponentTypeKHR
pub const FLOAT32: ComponentTypeKHR
pub const FLOAT64: ComponentTypeKHR
pub const SINT8: ComponentTypeKHR
pub const SINT16: ComponentTypeKHR
pub const SINT32: ComponentTypeKHR
pub const SINT64: ComponentTypeKHR
pub const UINT8: ComponentTypeKHR
pub const UINT16: ComponentTypeKHR
pub const UINT32: ComponentTypeKHR
pub const UINT64: ComponentTypeKHR
pub const BFLOAT16: ComponentTypeKHR
pub const SINT8_PACKED: ComponentTypeKHR
pub const UINT8_PACKED: ComponentTypeKHR
pub const FLOAT_E4M3: ComponentTypeKHR = Self::FLOAT8_E4M3
pub const FLOAT_E5M2: ComponentTypeKHR = Self::FLOAT8_E5M2
pub const FLOAT8_E4M3: ComponentTypeKHR
pub const FLOAT8_E5M2: ComponentTypeKHR
pub const fn from_raw(value: i32) -> ComponentTypeKHR
pub const fn as_raw(self) -> i32
Trait Implementations§
Source§impl Clone for ComponentTypeKHR
impl Clone for ComponentTypeKHR
Source§fn clone(&self) -> ComponentTypeKHR
fn clone(&self) -> ComponentTypeKHR
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ComponentTypeKHR
impl Debug for ComponentTypeKHR
Source§impl Default for ComponentTypeKHR
impl Default for ComponentTypeKHR
Source§fn default() -> ComponentTypeKHR
fn default() -> ComponentTypeKHR
Returns the “default value” for a type. Read more
Source§impl Display for ComponentTypeKHR
impl Display for ComponentTypeKHR
Source§impl Error for ComponentTypeKHR
impl Error for ComponentTypeKHR
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl Hash for ComponentTypeKHR
impl Hash for ComponentTypeKHR
Source§impl Ord for ComponentTypeKHR
impl Ord for ComponentTypeKHR
Source§fn cmp(&self, other: &ComponentTypeKHR) -> Ordering
fn cmp(&self, other: &ComponentTypeKHR) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ComponentTypeKHR
impl PartialEq for ComponentTypeKHR
Source§impl PartialOrd for ComponentTypeKHR
impl PartialOrd for ComponentTypeKHR
impl Copy for ComponentTypeKHR
impl Eq for ComponentTypeKHR
impl StructuralPartialEq for ComponentTypeKHR
Auto Trait Implementations§
impl Freeze for ComponentTypeKHR
impl RefUnwindSafe for ComponentTypeKHR
impl Send for ComponentTypeKHR
impl Sync for ComponentTypeKHR
impl Unpin for ComponentTypeKHR
impl UnsafeUnpin for ComponentTypeKHR
impl UnwindSafe for ComponentTypeKHR
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