TransformOperationsBuilder
struct · ferroui-base · v0.5.0
struct TransformOperationsBuilder
Builds a TransformOperations list.
Members
newappend_translateappend_rotateappend_scaleappend_skewappend_matrixappend_identityappendbuild
new
fn new(capacity: usize) -> Self
append_translate
fn append_translate(self: &mut Self, x: f64, y: f64)
append_rotate
fn append_rotate(self: &mut Self, angle: f64)
append_scale
fn append_scale(self: &mut Self, x: f64, y: f64)
append_skew
fn append_skew(self: &mut Self, x: f64, y: f64)
append_matrix
fn append_matrix(self: &mut Self, matrix: Matrix)
append_identity
fn append_identity(self: &mut Self)
Appends an identity-typed operation. As in the reference implementation its matrix is left unbaked (all zeros).
append
fn append(self: &mut Self, to_add: TransformOperation)
build
fn build(self: Self) -> Rc<TransformOperations>
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneDebugDefaultStructuralPartialEqPartialEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.