pub enum SurfaceColorFormat {
    Linear,
    Srgb,
}Expand description
Whether the outputting surface has a linear output format or a logarithmic srgb output format, generally linear is desired and is as such the default
Variants§
Trait Implementations§
Source§impl Clone for SurfaceColorFormat
 
impl Clone for SurfaceColorFormat
Source§fn clone(&self) -> SurfaceColorFormat
 
fn clone(&self) -> SurfaceColorFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for SurfaceColorFormat
 
impl Debug for SurfaceColorFormat
Source§impl Default for SurfaceColorFormat
 
impl Default for SurfaceColorFormat
Source§fn default() -> SurfaceColorFormat
 
fn default() -> SurfaceColorFormat
Returns the “default value” for a type. Read more
Source§impl Hash for SurfaceColorFormat
 
impl Hash for SurfaceColorFormat
Source§impl Ord for SurfaceColorFormat
 
impl Ord for SurfaceColorFormat
Source§fn cmp(&self, other: &SurfaceColorFormat) -> Ordering
 
fn cmp(&self, other: &SurfaceColorFormat) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SurfaceColorFormat
 
impl PartialEq for SurfaceColorFormat
Source§impl PartialOrd for SurfaceColorFormat
 
impl PartialOrd for SurfaceColorFormat
impl Copy for SurfaceColorFormat
impl Eq for SurfaceColorFormat
impl StructuralPartialEq for SurfaceColorFormat
Auto Trait Implementations§
impl Freeze for SurfaceColorFormat
impl RefUnwindSafe for SurfaceColorFormat
impl Send for SurfaceColorFormat
impl Sync for SurfaceColorFormat
impl Unpin for SurfaceColorFormat
impl UnwindSafe for SurfaceColorFormat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more