#[repr(u64)]pub enum MTLDynamicLibraryError {
None = 0,
InvalidFile = 1,
CompilationFailure = 2,
UnresolvedInstallName = 3,
DependencyLoadFailure = 4,
Unsupported = 5,
}Expand description
Only available on (macos(11.0), ios(14.0))
See https://developer.apple.com/documentation/metal/mtldynamiclibraryerror/
Variants§
None = 0
InvalidFile = 1
CompilationFailure = 2
UnresolvedInstallName = 3
DependencyLoadFailure = 4
Unsupported = 5
Trait Implementations§
Source§impl Clone for MTLDynamicLibraryError
impl Clone for MTLDynamicLibraryError
Source§fn clone(&self) -> MTLDynamicLibraryError
fn clone(&self) -> MTLDynamicLibraryError
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 MTLDynamicLibraryError
Source§impl Debug for MTLDynamicLibraryError
impl Debug for MTLDynamicLibraryError
impl Eq for MTLDynamicLibraryError
Source§impl Hash for MTLDynamicLibraryError
impl Hash for MTLDynamicLibraryError
Source§impl PartialEq for MTLDynamicLibraryError
impl PartialEq for MTLDynamicLibraryError
Source§fn eq(&self, other: &MTLDynamicLibraryError) -> bool
fn eq(&self, other: &MTLDynamicLibraryError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MTLDynamicLibraryError
Auto Trait Implementations§
impl Freeze for MTLDynamicLibraryError
impl RefUnwindSafe for MTLDynamicLibraryError
impl Send for MTLDynamicLibraryError
impl Sync for MTLDynamicLibraryError
impl Unpin for MTLDynamicLibraryError
impl UnsafeUnpin for MTLDynamicLibraryError
impl UnwindSafe for MTLDynamicLibraryError
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