Struct PrintColorMode
#[repr(transparent)]pub struct PrintColorMode(pub i32);
Tuple Fields§
§0: i32
Implementations§
§impl PrintColorMode
impl PrintColorMode
pub const Default: Self = _
pub const NotAvailable: Self = _
pub const PrinterCustom: Self = _
pub const Color: Self = _
pub const Grayscale: Self = _
pub const Monochrome: Self = _
pub const AutoSelect: Self = _
Trait Implementations§
§impl Clone for PrintColorMode
impl Clone for PrintColorMode
§fn clone(&self) -> PrintColorMode
fn clone(&self) -> PrintColorMode
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 more§impl Debug for PrintColorMode
impl Debug for PrintColorMode
§impl Default for PrintColorMode
impl Default for PrintColorMode
§fn default() -> PrintColorMode
fn default() -> PrintColorMode
Returns the “default value” for a type. Read more
§impl PartialEq for PrintColorMode
impl PartialEq for PrintColorMode
impl Copy for PrintColorMode
impl Eq for PrintColorMode
impl StructuralPartialEq for PrintColorMode
Auto Trait Implementations§
impl Freeze for PrintColorMode
impl RefUnwindSafe for PrintColorMode
impl Send for PrintColorMode
impl Sync for PrintColorMode
impl Unpin for PrintColorMode
impl UnwindSafe for PrintColorMode
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