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