pub enum PageOrientation {
Portrait,
Landscape,
}Expand description
Page orientation for a logical print layout.
Variants§
Trait Implementations§
Source§impl Clone for PageOrientation
impl Clone for PageOrientation
Source§fn clone(&self) -> PageOrientation
fn clone(&self) -> PageOrientation
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 PageOrientation
Source§impl Debug for PageOrientation
impl Debug for PageOrientation
Source§impl<'de> Deserialize<'de> for PageOrientation
impl<'de> Deserialize<'de> for PageOrientation
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 PageOrientation
Source§impl PartialEq for PageOrientation
impl PartialEq for PageOrientation
Source§impl Serialize for PageOrientation
impl Serialize for PageOrientation
impl StructuralPartialEq for PageOrientation
Auto Trait Implementations§
impl Freeze for PageOrientation
impl RefUnwindSafe for PageOrientation
impl Send for PageOrientation
impl Sync for PageOrientation
impl Unpin for PageOrientation
impl UnsafeUnpin for PageOrientation
impl UnwindSafe for PageOrientation
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