#[non_exhaustive]pub enum PrintRight {
None,
LowResolution,
HighResolution,
}Expand description
How much of printing a new document allows (Table 22 bits 3 and 12).
Added in 0.7.0.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None
No printing (neither bit).
LowResolution
Low-resolution printing only (bit 3).
HighResolution
Faithful printing (bits 3 and 12).
Trait Implementations§
Source§impl Clone for PrintRight
impl Clone for PrintRight
impl Copy for PrintRight
Source§impl Debug for PrintRight
impl Debug for PrintRight
Source§impl Default for PrintRight
impl Default for PrintRight
impl Eq for PrintRight
Source§impl Hash for PrintRight
impl Hash for PrintRight
Source§impl PartialEq for PrintRight
impl PartialEq for PrintRight
impl StructuralPartialEq for PrintRight
Auto Trait Implementations§
impl Forget for PrintRight
impl Freeze for PrintRight
impl Move for PrintRight
impl RefUnwindSafe for PrintRight
impl Send for PrintRight
impl Sync for PrintRight
impl Unpin for PrintRight
impl UnsafeUnpin for PrintRight
impl UnwindSafe for PrintRight
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