Enum gfx::format::ChannelType
[−]
[src]
#[repr(u8)]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 Ord for ChannelType
[src]
fn cmp(&self, __arg_0: &ChannelType) -> Ordering
[src]
impl Copy for ChannelType
[src]
impl Clone for ChannelType
[src]
fn clone(&self) -> ChannelType
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialOrd<ChannelType> for ChannelType
[src]
fn partial_cmp(&self, __arg_0: &ChannelType) -> Option<Ordering>
[src]
impl Hash for ChannelType
[src]
fn hash<__H>(&self, __arg_0: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
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]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq<ChannelType> for ChannelType
[src]
fn eq(&self, __arg_0: &ChannelType) -> bool
[src]
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[src]
This method tests for !=
.
impl Debug for ChannelType
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.