Struct genpdf::Size [−][src]
Expand description
A size of an area on a PDF layer, measured in millimeters.
Fields
width: Mm
The width of the area.
height: Mm
The height of the area.
Implementations
Creates a new size from the given width and height.
Stacks the given size vertically on this size and returns the result.
This means that the width is set to the maximum of the widths and the height is set to the sum of the heights.
Trait Implementations
Performs the +=
operation. Read more
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
Performs the -=
operation. Read more
Auto Trait Implementations
impl RefUnwindSafe for Size
impl UnwindSafe for Size
Blanket Implementations
Mutably borrows from an owned value. Read more