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