Enum imgui::ColorFormat [−][src]
pub enum ColorFormat { U8, Float, }
Color component formatting.
Variants
U8
Display values formatted as 0..255.
Float
Display values formatted as 0.0..1.0.
Trait Implementations
impl Copy for ColorFormat
[src]
impl Copy for ColorFormat
impl Clone for ColorFormat
[src]
impl Clone for ColorFormat
fn clone(&self) -> ColorFormat
[src]
fn clone(&self) -> ColorFormat
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ColorFormat
[src]
impl Debug for ColorFormat
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ColorFormat
[src]
impl PartialEq for ColorFormat
fn eq(&self, other: &ColorFormat) -> bool
[src]
fn eq(&self, other: &ColorFormat) -> 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[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for ColorFormat
[src]
impl Eq for ColorFormat
Auto Trait Implementations
impl Send for ColorFormat
impl Send for ColorFormat
impl Sync for ColorFormat
impl Sync for ColorFormat