Enum gfx::format::ChannelType
[−]
pub enum ChannelType { Int, Uint, Inorm, Unorm, Float, Srgb, }
Type of a surface channel. This is how we interpret the
storage allocated with SurfaceType
.
Variants
Int
Uint
Inorm
Unorm
Float
Srgb
Trait Implementations
impl Eq for ChannelType
impl Ord for ChannelType
fn cmp(&self, __arg_0: &ChannelType) -> Ordering
impl PartialEq<ChannelType> for ChannelType
fn eq(&self, __arg_0: &ChannelType) -> 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 PartialOrd<ChannelType> for ChannelType
fn partial_cmp(&self, __arg_0: &ChannelType) -> Option<Ordering>
impl Hash for ChannelType
impl Copy for ChannelType
impl Clone for ChannelType
fn clone(&self) -> ChannelType
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