#[repr(transparent)]pub struct MetalLanguageVersion(pub usize);Expand description
Re-exports the Metal framework surface for this item.
Mirrors the Metal framework counterpart for MetalLanguageVersion.
Mirrors the Metal framework counterpart for this type.
Tuple Fields§
§0: usizeImplementations§
Trait Implementations§
Source§impl Clone for MetalLanguageVersion
impl Clone for MetalLanguageVersion
Source§fn clone(&self) -> MetalLanguageVersion
fn clone(&self) -> MetalLanguageVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MetalLanguageVersion
Source§impl Debug for MetalLanguageVersion
impl Debug for MetalLanguageVersion
Source§impl Default for MetalLanguageVersion
impl Default for MetalLanguageVersion
Source§fn default() -> MetalLanguageVersion
fn default() -> MetalLanguageVersion
Returns the “default value” for a type. Read more
impl Eq for MetalLanguageVersion
Source§impl Hash for MetalLanguageVersion
impl Hash for MetalLanguageVersion
Source§impl PartialEq for MetalLanguageVersion
impl PartialEq for MetalLanguageVersion
Source§fn eq(&self, other: &MetalLanguageVersion) -> bool
fn eq(&self, other: &MetalLanguageVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MetalLanguageVersion
Auto Trait Implementations§
impl Freeze for MetalLanguageVersion
impl RefUnwindSafe for MetalLanguageVersion
impl Send for MetalLanguageVersion
impl Sync for MetalLanguageVersion
impl Unpin for MetalLanguageVersion
impl UnsafeUnpin for MetalLanguageVersion
impl UnwindSafe for MetalLanguageVersion
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