Enum ark_api_ffi::render_v1::TextureType
source · [−]#[repr(u32)]
#[non_exhaustive]
pub enum TextureType {
D2,
}Expand description
Defines the type of texture.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
D2
2 dimensional texture.
Trait Implementations
sourceimpl CheckedBitPattern for TextureType
impl CheckedBitPattern for TextureType
type Bits = u32
type Bits = u32
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during is_valid_bit_pattern. Read more
sourcefn is_valid_bit_pattern(bits: &Self::Bits) -> bool
fn is_valid_bit_pattern(bits: &Self::Bits) -> bool
If this function returns true, then it must be valid to reinterpret bits as &Self.
sourceimpl Clone for TextureType
impl Clone for TextureType
sourcefn clone(&self) -> TextureType
fn clone(&self) -> TextureType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for TextureType
impl Debug for TextureType
sourceimpl PartialEq<TextureType> for TextureType
impl PartialEq<TextureType> for TextureType
impl Copy for TextureType
impl Eq for TextureType
impl NoUninit for TextureType
impl StructuralEq for TextureType
impl StructuralPartialEq for TextureType
Auto Trait Implementations
impl RefUnwindSafe for TextureType
impl Send for TextureType
impl Sync for TextureType
impl Unpin for TextureType
impl UnwindSafe for TextureType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more