#[repr(u32)]pub enum TextureFlags {
FlagMipmaps = 1,
FlagRepeat = 2,
FlagFilter = 4,
Default = 7,
FlagAnisotropicFilter = 8,
FlagConvertToLinear = 16,
FlagMirroredRepeat = 32,
FlagVideoSurface = 4_096,
}
Variants§
FlagMipmaps = 1
FlagRepeat = 2
FlagFilter = 4
Default = 7
FlagAnisotropicFilter = 8
FlagConvertToLinear = 16
FlagMirroredRepeat = 32
FlagVideoSurface = 4_096
Trait Implementations§
Source§impl Clone for TextureFlags
impl Clone for TextureFlags
Source§fn clone(&self) -> TextureFlags
fn clone(&self) -> TextureFlags
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 TextureFlags
impl Debug for TextureFlags
Source§impl Hash for TextureFlags
impl Hash for TextureFlags
Source§impl PartialEq for TextureFlags
impl PartialEq 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