Enum gfx_hal::format::ChannelType [−][src]
#[repr(u8)]
pub enum ChannelType {
Unorm,
Snorm,
Uint,
Sint,
Ufloat,
Sfloat,
Uscaled,
Sscaled,
Srgb,
}Type of a surface channel. This is how we interpret the
storage allocated with SurfaceType.
Variants
Unsigned normalized.
Signed normalized.
Unsigned integer.
Signed integer.
Unsigned floating-point.
Signed floating-point.
Unsigned scaled integer.
Signed scaled integer.
Unsigned normalized, SRGB non-linear encoded.
Trait Implementations
impl Clone for ChannelType[src]
impl Clone for ChannelType[src]fn clone(&self) -> ChannelType[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for ChannelType[src]
impl Copy for ChannelType[src]impl Eq for ChannelType[src]
impl Eq for ChannelType[src]impl Hash for ChannelType[src]
impl Hash for ChannelType[src]impl Ord for ChannelType[src]
impl Ord for ChannelType[src]impl PartialEq<ChannelType> for ChannelType[src]
impl PartialEq<ChannelType> for ChannelType[src]impl PartialOrd<ChannelType> for ChannelType[src]
impl PartialOrd<ChannelType> for ChannelType[src]impl StructuralEq for ChannelType[src]
impl StructuralEq for ChannelType[src]impl StructuralPartialEq for ChannelType[src]
impl StructuralPartialEq for ChannelType[src]Auto Trait Implementations
impl RefUnwindSafe for ChannelType
impl RefUnwindSafe for ChannelTypeimpl Send for ChannelType
impl Send for ChannelTypeimpl Sync for ChannelType
impl Sync for ChannelTypeimpl Unpin for ChannelType
impl Unpin for ChannelTypeimpl UnwindSafe for ChannelType
impl UnwindSafe for ChannelType