DataLayout
struct · ferroui-base · v0.5.0
struct DataLayout
The parameters of a TransformOperation.
The skew, scale, translation and rotation views share the same storage:
the first component holds x (or the rotation angle) and the second y.
Members
skew
fn skew(self: &Self) -> SkewLayout
set_skew
fn set_skew(self: &mut Self, x: f64, y: f64)
scale
fn scale(self: &Self) -> ScaleLayout
set_scale
fn set_scale(self: &mut Self, x: f64, y: f64)
translate
fn translate(self: &Self) -> TranslateLayout
set_translate
fn set_translate(self: &mut Self, x: f64, y: f64)
rotate
fn rotate(self: &Self) -> RotateLayout
set_rotate
fn set_rotate(self: &mut Self, angle: f64)
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugDefaultStructuralPartialEqPartialEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.