pub struct TextureType(pub i64);
Tuple Fields§
§0: i64
Implementations§
Source§impl TextureType
impl TextureType
pub const _2D: TextureType
pub const CUBEMAP: TextureType
pub const _2D_ARRAY: TextureType
pub const _3D: TextureType
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§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TextureType
impl Debug for TextureType
Source§impl From<TextureType> for i64
impl From<TextureType> for i64
Source§fn from(v: TextureType) -> Self
fn from(v: TextureType) -> Self
Converts to this type from the input type.
Source§impl From<i64> for TextureType
impl From<i64> for TextureType
Source§impl FromVariant for TextureType
impl FromVariant for TextureType
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for TextureType
impl Hash for TextureType
Source§impl Ord for TextureType
impl Ord for TextureType
Source§fn cmp(&self, other: &TextureType) -> Ordering
fn cmp(&self, other: &TextureType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TextureType
impl PartialEq for TextureType
Source§impl PartialOrd for TextureType
impl PartialOrd 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.