Struct genpdf::Scale [−][src]
Expand description
A size to stretch an image on a PDF layer; measured in percentage.
Fields
x: f64
The percentage to scale on the x-axis.
y: f64
The percentage to scale on the y-axis.
Implementations
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 Scale
impl UnwindSafe for Scale
Blanket Implementations
Mutably borrows from an owned value. Read more