pub enum PredefinedDuplexType {
OneSided,
TwoSidedShortEdge,
TwoSidedLongEdge,
}Expand description
Represents a predefined duplex type.
Variants§
OneSided
One sided printing
TwoSidedShortEdge
Two sided printing such that the page is flipped parallel to the width direction
TwoSidedLongEdge
Two sided printing such that the page is flipped parallel to the height direction
Trait Implementations§
Source§impl Clone for PredefinedDuplexType
impl Clone for PredefinedDuplexType
Source§fn clone(&self) -> PredefinedDuplexType
fn clone(&self) -> PredefinedDuplexType
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 PredefinedDuplexType
Source§impl Debug for PredefinedDuplexType
impl Debug for PredefinedDuplexType
impl Eq for PredefinedDuplexType
Source§impl FromStr for PredefinedDuplexType
impl FromStr for PredefinedDuplexType
Source§impl Hash for PredefinedDuplexType
impl Hash for PredefinedDuplexType
Source§impl PartialEq for PredefinedDuplexType
impl PartialEq for PredefinedDuplexType
impl StructuralPartialEq for PredefinedDuplexType
Auto Trait Implementations§
impl Freeze for PredefinedDuplexType
impl RefUnwindSafe for PredefinedDuplexType
impl Send for PredefinedDuplexType
impl Sync for PredefinedDuplexType
impl Unpin for PredefinedDuplexType
impl UnsafeUnpin for PredefinedDuplexType
impl UnwindSafe for PredefinedDuplexType
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