[][src]Struct art_stamps::Transform

pub struct Transform {
    pub midx: f64,
    pub midy: f64,
    pub rotate: f64,
    pub tx: f64,
    pub ty: f64,
    pub scale: f64,
}

Fields

midx: f64midy: f64rotate: f64tx: f64ty: f64scale: f64

Implementations

impl Transform[src]

pub fn new(width: u32, height: u32) -> Transform[src]

pub fn to_bbox(&self) -> [(f64, f64); 4][src]

pub fn to_string(&self) -> Result<String, Error>[src]

Trait Implementations

impl Clone for Transform[src]

impl Debug for Transform[src]

impl Default for Transform[src]

impl<'de> Deserialize<'de> for Transform[src]

impl PartialEq<Transform> for Transform[src]

impl Serialize for Transform[src]

impl StructuralPartialEq for Transform[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.