Enum gltf::image::Format [−][src]
pub enum Format {
R8,
R8G8,
R8G8B8,
R8G8B8A8,
}Format of image pixel data.
Variants
R8Red only.
R8G8Red, green.
R8G8B8Red, green, blue.
R8G8B8A8Red, green, blue, alpha.
Trait Implementations
impl Clone for Format[src]
impl Clone for Formatfn clone(&self) -> Format[src]
fn clone(&self) -> FormatReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for Format[src]
impl Copy for Formatimpl Debug for Format[src]
impl Debug for Formatfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for Format[src]
impl Eq for Formatimpl Hash for Format[src]
impl Hash for Formatfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl PartialEq for Format[src]
impl PartialEq for Format