pub enum PrintColorPolicy {
Monochrome,
Preserve,
}Expand description
Color intent for a print-capable host.
Variants§
Trait Implementations§
Source§impl Clone for PrintColorPolicy
impl Clone for PrintColorPolicy
Source§fn clone(&self) -> PrintColorPolicy
fn clone(&self) -> PrintColorPolicy
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 moreimpl Copy for PrintColorPolicy
Source§impl Debug for PrintColorPolicy
impl Debug for PrintColorPolicy
Source§impl Default for PrintColorPolicy
impl Default for PrintColorPolicy
Source§fn default() -> PrintColorPolicy
fn default() -> PrintColorPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrintColorPolicy
impl<'de> Deserialize<'de> for PrintColorPolicy
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
impl Eq for PrintColorPolicy
Source§impl PartialEq for PrintColorPolicy
impl PartialEq for PrintColorPolicy
Source§impl Serialize for PrintColorPolicy
impl Serialize for PrintColorPolicy
impl StructuralPartialEq for PrintColorPolicy
Auto Trait Implementations§
impl Freeze for PrintColorPolicy
impl RefUnwindSafe for PrintColorPolicy
impl Send for PrintColorPolicy
impl Sync for PrintColorPolicy
impl Unpin for PrintColorPolicy
impl UnsafeUnpin for PrintColorPolicy
impl UnwindSafe for PrintColorPolicy
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