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