Enum gfx::format::Srgb
[−]
[src]
pub enum Srgb {}
Trait Implementations
impl Debug for Srgb
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Clone for Srgb
fn clone(&self) -> Srgb
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
impl Copy for Srgb
impl Hash for Srgb
impl PartialOrd<Srgb> for Srgb
fn partial_cmp(&self, __arg_0: &Srgb) -> Option<Ordering>
impl PartialEq<Srgb> for Srgb
fn eq(&self, __arg_0: &Srgb) -> 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 Ord for Srgb
impl Eq for Srgb
impl ChannelTyped for Srgb
type ShaderType = f32
Shader-visible type that corresponds to this channel. For example, normalized integers are visible as floats. Read more
fn get_channel_type() -> ChannelType
Return the run-time value of the type.