Struct printpdf::svg::SvgRotation
source · [−]pub struct SvgRotation {
pub angle_ccw_degrees: f64,
pub rotation_center_x: Pt,
pub rotation_center_y: Pt,
}
Fields
angle_ccw_degrees: f64
rotation_center_x: Pt
rotation_center_y: Pt
Trait Implementations
sourceimpl Clone for SvgRotation
impl Clone for SvgRotation
sourcefn clone(&self) -> SvgRotation
fn clone(&self) -> SvgRotation
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 SvgRotation
impl Debug for SvgRotation
sourceimpl Default for SvgRotation
impl Default for SvgRotation
sourcefn default() -> SvgRotation
fn default() -> SvgRotation
Returns the “default value” for a type. Read more
sourceimpl PartialEq<SvgRotation> for SvgRotation
impl PartialEq<SvgRotation> for SvgRotation
sourcefn eq(&self, other: &SvgRotation) -> bool
fn eq(&self, other: &SvgRotation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for SvgRotation
impl StructuralPartialEq for SvgRotation
Auto Trait Implementations
impl RefUnwindSafe for SvgRotation
impl Send for SvgRotation
impl Sync for SvgRotation
impl Unpin for SvgRotation
impl UnwindSafe for SvgRotation
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.