pub enum PixelFormat {
Show 16 variants
RGB8U,
RGBA8U,
R8U,
RGB32U,
RGBA32U,
R32U,
RGB32F,
RGBA32F,
R32F,
D16,
D32,
D24S8,
D32S8,
RGB8(MinMagFilter),
RGBA8(MinMagFilter),
R8(MinMagFilter),
}
Variants§
RGB8U
RGBA8U
R8U
RGB32U
RGBA32U
R32U
RGB32F
RGBA32F
R32F
D16
D32
D24S8
D32S8
RGB8(MinMagFilter)
RGBA8(MinMagFilter)
R8(MinMagFilter)
Implementations§
Source§impl PixelFormat
impl PixelFormat
pub fn to_orig_surface_type(&self) -> OrigSurfaceType
Trait Implementations§
Source§impl Clone for PixelFormat
impl Clone for PixelFormat
Source§fn clone(&self) -> PixelFormat
fn clone(&self) -> PixelFormat
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 moreAuto Trait Implementations§
impl Freeze for PixelFormat
impl RefUnwindSafe for PixelFormat
impl Send for PixelFormat
impl Sync for PixelFormat
impl Unpin for PixelFormat
impl UnwindSafe for PixelFormat
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