Enum gltf::image::Format [−][src]
pub enum Format {
R8,
R8G8,
R8G8B8,
R8G8B8A8,
B8G8R8,
B8G8R8A8,
R16,
R16G16,
R16G16B16,
R16G16B16A16,
}This is supported on crate feature
import only.Expand description
Format of image pixel data.
Variants
Expand description
Red only.
Expand description
Red, green.
Expand description
Red, green, blue.
Expand description
Red, green, blue, alpha.
Expand description
Blue, green, red.
Expand description
Blue, green, red, alpha.
Expand description
Red only (16 bits).
Expand description
Red, green (16 bits).
Expand description
Red, green, blue (16 bits).
Expand description
Red, green, blue, alpha (16 bits).
Trait Implementations
impl Copy for Format[src]
impl Eq for Format[src]
impl StructuralEq for Format[src]
impl StructuralPartialEq for Format[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for Timpl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more