pub struct DecomposedTransform {
pub translate_x: Option<f64>,
pub translate_y: Option<f64>,
pub rotation: Option<f64>,
pub scale_x: Option<f64>,
pub scale_y: Option<f64>,
pub skew_x: Option<f64>,
pub skew_y: Option<f64>,
pub center_x: Option<f64>,
pub center_y: Option<f64>,
}Expand description
Fields§
§translate_x: Option<f64>§translate_y: Option<f64>§rotation: Option<f64>§scale_x: Option<f64>§scale_y: Option<f64>§skew_x: Option<f64>§skew_y: Option<f64>§center_x: Option<f64>§center_y: Option<f64>Trait Implementations§
Source§impl Clone for DecomposedTransform
impl Clone for DecomposedTransform
Source§fn clone(&self) -> DecomposedTransform
fn clone(&self) -> DecomposedTransform
Returns a duplicate 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 DecomposedTransform
impl Debug for DecomposedTransform
Source§impl Default for DecomposedTransform
impl Default for DecomposedTransform
Source§fn default() -> DecomposedTransform
fn default() -> DecomposedTransform
Returns the “default value” for a type. Read more
Source§impl FontWrite for DecomposedTransform
impl FontWrite for DecomposedTransform
Source§fn write_into(&self, writer: &mut TableWriter)
fn write_into(&self, writer: &mut TableWriter)
Write our data and information about offsets into this TableWriter.
Source§fn table_type(&self) -> TableType
fn table_type(&self) -> TableType
The type of this table. Read more
Source§impl PartialEq for DecomposedTransform
impl PartialEq for DecomposedTransform
impl StructuralPartialEq for DecomposedTransform
Auto Trait Implementations§
impl Freeze for DecomposedTransform
impl RefUnwindSafe for DecomposedTransform
impl Send for DecomposedTransform
impl Sync for DecomposedTransform
impl Unpin for DecomposedTransform
impl UnsafeUnpin for DecomposedTransform
impl UnwindSafe for DecomposedTransform
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.