pub struct TextureFlags(pub i64);
Tuple Fields§
§0: i64
Implementations§
Source§impl TextureFlags
impl TextureFlags
pub const FLAG_MIPMAPS: TextureFlags
pub const FLAG_REPEAT: TextureFlags
pub const FLAG_FILTER: TextureFlags
pub const FLAGS_DEFAULT: TextureFlags
pub const FLAG_ANISOTROPIC_FILTER: TextureFlags
pub const FLAG_CONVERT_TO_LINEAR: TextureFlags
pub const FLAG_MIRRORED_REPEAT: TextureFlags
pub const FLAG_USED_FOR_STREAMING: TextureFlags
Trait Implementations§
Source§impl Clone for TextureFlags
impl Clone for TextureFlags
Source§fn clone(&self) -> TextureFlags
fn clone(&self) -> TextureFlags
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 TextureFlags
impl Debug for TextureFlags
Source§impl From<TextureFlags> for i64
impl From<TextureFlags> for i64
Source§fn from(v: TextureFlags) -> Self
fn from(v: TextureFlags) -> Self
Converts to this type from the input type.
Source§impl From<i64> for TextureFlags
impl From<i64> for TextureFlags
Source§impl FromVariant for TextureFlags
impl FromVariant for TextureFlags
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for TextureFlags
impl Hash for TextureFlags
Source§impl Ord for TextureFlags
impl Ord for TextureFlags
Source§fn cmp(&self, other: &TextureFlags) -> Ordering
fn cmp(&self, other: &TextureFlags) -> 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 TextureFlags
impl PartialEq for TextureFlags
Source§impl PartialOrd for TextureFlags
impl PartialOrd for TextureFlags
impl Copy for TextureFlags
impl Eq for TextureFlags
impl StructuralPartialEq for TextureFlags
Auto Trait Implementations§
impl Freeze for TextureFlags
impl RefUnwindSafe for TextureFlags
impl Send for TextureFlags
impl Sync for TextureFlags
impl Unpin for TextureFlags
impl UnwindSafe for TextureFlags
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.