FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    TransformOperationsBuilder

    struct · ferroui-base · v0.5.0

    struct TransformOperationsBuilder
    

    Builds a TransformOperations list.

    View source

    Members

    new

    fn new(capacity: usize) -> Self
    

    Source

    append_translate

    fn append_translate(self: &mut Self, x: f64, y: f64)
    

    Source

    append_rotate

    fn append_rotate(self: &mut Self, angle: f64)
    

    Source

    append_scale

    fn append_scale(self: &mut Self, x: f64, y: f64)
    

    Source

    append_skew

    fn append_skew(self: &mut Self, x: f64, y: f64)
    

    Source

    append_matrix

    fn append_matrix(self: &mut Self, matrix: Matrix)
    

    Source

    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).

    Source

    append

    fn append(self: &mut Self, to_add: TransformOperation)
    

    Source

    build

    fn build(self: Self) -> Rc<TransformOperations>
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ErasedDestructor
    • IntoEither
    • Clone
    • Debug
    • Default
    • StructuralPartialEq
    • PartialEq

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.