pub enum Format {
R8,
R8G8,
R8G8B8,
R8G8B8A8,
R16,
R16G16,
R16G16B16,
R16G16B16A16,
R32G32B32FLOAT,
R32G32B32A32FLOAT,
}
Available on crate feature
import
only.Expand description
Format of image pixel data.
Variants§
R8
Red only.
R8G8
Red, green.
R8G8B8
Red, green, blue.
R8G8B8A8
Red, green, blue, alpha.
R16
Red only (16 bits).
R16G16
Red, green (16 bits).
R16G16B16
Red, green, blue (16 bits).
R16G16B16A16
Red, green, blue, alpha (16 bits).
R32G32B32FLOAT
Red, green, blue (32 bits float)
R32G32B32A32FLOAT
Red, green, blue, alpha (32 bits float)
Trait Implementations§
source§impl PartialEq for Format
impl PartialEq for Format
impl Copy for Format
impl Eq for Format
impl StructuralEq for Format
impl StructuralPartialEq for Format
Auto Trait Implementations§
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnwindSafe for Format
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