#[repr(transparent)]pub struct LanguageVersion(pub UInteger);Expand description
Metal shading language version.
C++ equivalent: MTL::LanguageVersion
Tuple Fields§
§0: UIntegerImplementations§
Source§impl LanguageVersion
impl LanguageVersion
pub const VERSION_1_0: Self
pub const VERSION_1_1: Self
pub const VERSION_1_2: Self
pub const VERSION_2_0: Self
pub const VERSION_2_1: Self
pub const VERSION_2_2: Self
pub const VERSION_2_3: Self
pub const VERSION_2_4: Self
pub const VERSION_3_0: Self
pub const VERSION_3_1: Self
pub const VERSION_3_2: Self
pub const VERSION_4_0: Self
Trait Implementations§
Source§impl Clone for LanguageVersion
impl Clone for LanguageVersion
Source§fn clone(&self) -> LanguageVersion
fn clone(&self) -> LanguageVersion
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 LanguageVersion
impl Debug for LanguageVersion
Source§impl Default for LanguageVersion
impl Default for LanguageVersion
Source§fn default() -> LanguageVersion
fn default() -> LanguageVersion
Returns the “default value” for a type. Read more
Source§impl Hash for LanguageVersion
impl Hash for LanguageVersion
Source§impl PartialEq for LanguageVersion
impl PartialEq for LanguageVersion
impl Copy for LanguageVersion
impl Eq for LanguageVersion
impl StructuralPartialEq for LanguageVersion
Auto Trait Implementations§
impl Freeze for LanguageVersion
impl RefUnwindSafe for LanguageVersion
impl Send for LanguageVersion
impl Sync for LanguageVersion
impl Unpin for LanguageVersion
impl UnwindSafe for LanguageVersion
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