Struct windows::Graphics::Printing::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
§fn eq(&self, other: &PrintColorMode) -> bool
fn eq(&self, other: &PrintColorMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)