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