Enum imageflow_core::flow::definitions::PixelFormat
[−]
#[repr(C)]pub enum PixelFormat { Bgra32, Bgr24, Gray8, }
Variants
Bgra32
Bgr24
Gray8
Trait Implementations
impl PartialEq<PixelFormat> for PixelFormat
fn eq(&self, __arg_0: &PixelFormat) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Debug for PixelFormat
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Deserialize for PixelFormat
fn deserialize<__D>(deserializer: __D) -> Result<PixelFormat, __D::Error> where __D: Deserializer
Deserialize this value from the given Serde deserializer. Read more
impl Copy for PixelFormat
impl Clone for PixelFormat
fn clone(&self) -> PixelFormat
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more