Struct printpdf::image::ImageRotation
source · pub struct ImageRotation {
pub angle_ccw_degrees: f32,
pub rotation_center_x: Px,
pub rotation_center_y: Px,
}
Fields§
§angle_ccw_degrees: f32
§rotation_center_x: Px
§rotation_center_y: Px
Trait Implementations§
source§impl Clone for ImageRotation
impl Clone for ImageRotation
source§fn clone(&self) -> ImageRotation
fn clone(&self) -> ImageRotation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ImageRotation
impl Debug for ImageRotation
source§impl Default for ImageRotation
impl Default for ImageRotation
source§fn default() -> ImageRotation
fn default() -> ImageRotation
Returns the “default value” for a type. Read more
source§impl PartialEq for ImageRotation
impl PartialEq for ImageRotation
source§fn eq(&self, other: &ImageRotation) -> bool
fn eq(&self, other: &ImageRotation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ImageRotation
impl StructuralPartialEq for ImageRotation
Auto Trait Implementations§
impl RefUnwindSafe for ImageRotation
impl Send for ImageRotation
impl Sync for ImageRotation
impl Unpin for ImageRotation
impl UnwindSafe for ImageRotation
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