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