Struct printpdf::image::ImageRotation
source · [−]pub struct ImageRotation {
pub angle_ccw_degrees: f64,
pub rotation_center_x: Px,
pub rotation_center_y: Px,
}
Fields
angle_ccw_degrees: f64
rotation_center_x: Px
rotation_center_y: Px
Trait Implementations
sourceimpl Clone for ImageRotation
impl Clone for ImageRotation
sourcefn clone(&self) -> ImageRotation
fn clone(&self) -> ImageRotation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ImageRotation
impl Debug for ImageRotation
sourceimpl Default for ImageRotation
impl Default for ImageRotation
sourcefn default() -> ImageRotation
fn default() -> ImageRotation
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ImageRotation> for ImageRotation
impl PartialEq<ImageRotation> for ImageRotation
sourcefn 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 ==
. Read more
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> IsDefault for T where
T: Default + PartialEq<T> + Copy,
impl<T> IsDefault for T where
T: Default + PartialEq<T> + Copy,
sourcefn is_default(&self) -> bool
fn is_default(&self) -> bool
Checks that type has a default value.