#[repr(transparent)]pub struct TextureType(pub UInteger);Expand description
Types of textures.
C++ equivalent: MTL::TextureType
Tuple Fields§
§0: UIntegerImplementations§
Source§impl TextureType
impl TextureType
pub const TYPE_1D: Self
pub const TYPE_1D_ARRAY: Self
pub const TYPE_2D: Self
pub const TYPE_2D_ARRAY: Self
pub const TYPE_2D_MULTISAMPLE: Self
pub const TYPE_CUBE: Self
pub const TYPE_CUBE_ARRAY: Self
pub const TYPE_3D: Self
pub const TYPE_2D_MULTISAMPLE_ARRAY: Self
pub const TYPE_TEXTURE_BUFFER: Self
Trait Implementations§
Source§impl Clone for TextureType
impl Clone for TextureType
Source§fn clone(&self) -> TextureType
fn clone(&self) -> TextureType
Returns a duplicate 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 TextureType
impl Debug for TextureType
Source§impl Default for TextureType
impl Default for TextureType
Source§fn default() -> TextureType
fn default() -> TextureType
Returns the “default value” for a type. Read more
Source§impl Hash for TextureType
impl Hash for TextureType
Source§impl PartialEq for TextureType
impl PartialEq for TextureType
impl Copy for TextureType
impl Eq for TextureType
impl StructuralPartialEq for TextureType
Auto Trait Implementations§
impl Freeze for TextureType
impl RefUnwindSafe for TextureType
impl Send for TextureType
impl Sync for TextureType
impl Unpin for TextureType
impl UnwindSafe for TextureType
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