pub enum SimpleColorSpace {
DeviceGray,
DeviceRGB,
DeviceCMYK,
}Expand description
Simple device color space for alt-space references.
Variants§
Trait Implementations§
Source§impl Clone for SimpleColorSpace
impl Clone for SimpleColorSpace
Source§fn clone(&self) -> SimpleColorSpace
fn clone(&self) -> SimpleColorSpace
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SimpleColorSpace
impl Debug for SimpleColorSpace
Source§impl Hash for SimpleColorSpace
impl Hash for SimpleColorSpace
Source§impl PartialEq for SimpleColorSpace
impl PartialEq for SimpleColorSpace
Source§fn eq(&self, other: &SimpleColorSpace) -> bool
fn eq(&self, other: &SimpleColorSpace) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SimpleColorSpace
impl StructuralPartialEq for SimpleColorSpace
Auto Trait Implementations§
impl Freeze for SimpleColorSpace
impl RefUnwindSafe for SimpleColorSpace
impl Send for SimpleColorSpace
impl Sync for SimpleColorSpace
impl Unpin for SimpleColorSpace
impl UnsafeUnpin for SimpleColorSpace
impl UnwindSafe for SimpleColorSpace
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