Enum webrender_api::display_item::ColorSpace
source · #[repr(C)]pub enum ColorSpace {
Srgb = 0,
LinearRgb = 1,
}
Variants§
Trait Implementations§
source§impl Clone for ColorSpace
impl Clone for ColorSpace
source§fn clone(&self) -> ColorSpace
fn clone(&self) -> ColorSpace
Returns a copy 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 ColorSpace
impl Debug for ColorSpace
source§impl Default for ColorSpace
impl Default for ColorSpace
source§impl<'de> Deserialize<'de> for ColorSpace
impl<'de> Deserialize<'de> for ColorSpace
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for ColorSpace
impl Hash for ColorSpace
source§impl MallocSizeOf for ColorSpace
impl MallocSizeOf for ColorSpace
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
source§impl PartialEq for ColorSpace
impl PartialEq for ColorSpace
source§fn eq(&self, other: &ColorSpace) -> bool
fn eq(&self, other: &ColorSpace) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Peek for ColorSpace
impl Peek for ColorSpace
source§impl Poke for ColorSpace
impl Poke for ColorSpace
source§impl Serialize for ColorSpace
impl Serialize for ColorSpace
impl Copy for ColorSpace
impl Eq for ColorSpace
impl StructuralPartialEq for ColorSpace
Auto Trait Implementations§
impl Freeze for ColorSpace
impl RefUnwindSafe for ColorSpace
impl Send for ColorSpace
impl Sync for ColorSpace
impl Unpin for ColorSpace
impl UnwindSafe for ColorSpace
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