#[repr(u64)]pub enum MTLHeapType {
Automatic = 0,
Placement = 1,
Sparse = 2,
}Expand description
Only available on macos(10.15), ios(13.0)
See https://developer.apple.com/documentation/metal/mtlheaptype/
Variants§
Trait Implementations§
Source§impl Clone for MTLHeapType
impl Clone for MTLHeapType
Source§fn clone(&self) -> MTLHeapType
fn clone(&self) -> MTLHeapType
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MTLHeapType
impl Debug for MTLHeapType
Source§impl Hash for MTLHeapType
impl Hash for MTLHeapType
Source§impl PartialEq for MTLHeapType
impl PartialEq for MTLHeapType
impl Copy for MTLHeapType
impl Eq for MTLHeapType
impl StructuralPartialEq for MTLHeapType
Auto Trait Implementations§
impl Freeze for MTLHeapType
impl RefUnwindSafe for MTLHeapType
impl Send for MTLHeapType
impl Sync for MTLHeapType
impl Unpin for MTLHeapType
impl UnwindSafe for MTLHeapType
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)