Enum genpdf::PaperSize [−][src]
pub enum PaperSize { A4, Legal, Letter, }
Expand description
A paper size like A4, legal or letter.
This enum provides variants for typical paper sizes that can be converted into Size
instances.
Variants
The A4 paper size (210x297mm).
The legal paper size (216x356mm).
The letter paper size (216x279mm).
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for PaperSize
impl UnwindSafe for PaperSize
Blanket Implementations
Mutably borrows from an owned value. Read more