rendy_texture::pixel

Trait ChannelRepr

Source
pub trait ChannelRepr<S> {
    type Repr: Sized + Debug + Default + Copy + Send + Sync + 'static;
}
Expand description

Channel representation as a Rust type

Required Associated Types§

Source

type Repr: Sized + Debug + Default + Copy + Send + Sync + 'static

Newtype to reduce verbosity of representing a Channel in Rust

Implementors§

Source§

impl ChannelRepr<_8> for Inorm

Source§

impl ChannelRepr<_8> for Int

Source§

impl ChannelRepr<_8> for Iscaled

Source§

impl ChannelRepr<_8> for Srgb

Source§

impl ChannelRepr<_8> for Uint

Source§

impl ChannelRepr<_8> for Unorm

Source§

impl ChannelRepr<_8> for Uscaled

Source§

impl ChannelRepr<_16> for Inorm

Source§

impl ChannelRepr<_16> for Int

Source§

impl ChannelRepr<_16> for Iscaled

Source§

impl ChannelRepr<_16> for Srgb

Source§

impl ChannelRepr<_16> for Uint

Source§

impl ChannelRepr<_16> for Unorm

Source§

impl ChannelRepr<_16> for Uscaled

Source§

impl ChannelRepr<_32> for Float

Source§

impl ChannelRepr<_32> for Inorm

Source§

impl ChannelRepr<_32> for Int

Source§

impl ChannelRepr<_32> for Iscaled

Source§

impl ChannelRepr<_32> for Srgb

Source§

impl ChannelRepr<_32> for Uint

Source§

impl ChannelRepr<_32> for Unorm

Source§

impl ChannelRepr<_32> for Uscaled

Source§

impl ChannelRepr<_64> for Float

Source§

impl ChannelRepr<_64> for Inorm

Source§

impl ChannelRepr<_64> for Int

Source§

impl ChannelRepr<_64> for Iscaled

Source§

impl ChannelRepr<_64> for Srgb

Source§

impl ChannelRepr<_64> for Uint

Source§

impl ChannelRepr<_64> for Unorm

Source§

impl ChannelRepr<_64> for Uscaled