#[repr(u64)]pub enum MTLTextureType {
D1 = 0,
D1Array = 1,
D2 = 2,
D2Array = 3,
D2Multisample = 4,
Cube = 5,
CubeArray = 6,
D3 = 7,
D2MultisampleArray = 8,
}
Expand description
Variants§
D1 = 0
D1Array = 1
D2 = 2
D2Array = 3
D2Multisample = 4
Cube = 5
CubeArray = 6
D3 = 7
D2MultisampleArray = 8
Trait Implementations§
Source§impl Clone for MTLTextureType
impl Clone for MTLTextureType
Source§fn clone(&self) -> MTLTextureType
fn clone(&self) -> MTLTextureType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MTLTextureType
impl Debug for MTLTextureType
Source§impl Hash for MTLTextureType
impl Hash for MTLTextureType
Source§impl PartialEq for MTLTextureType
impl PartialEq for MTLTextureType
impl Copy for MTLTextureType
impl Eq for MTLTextureType
impl StructuralPartialEq for MTLTextureType
Auto Trait Implementations§
impl Freeze for MTLTextureType
impl RefUnwindSafe for MTLTextureType
impl Send for MTLTextureType
impl Sync for MTLTextureType
impl Unpin for MTLTextureType
impl UnwindSafe for MTLTextureType
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