FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    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.

    View source

    Members

    skew

    fn skew(self: &Self) -> SkewLayout
    

    Source

    set_skew

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

    Source

    scale

    fn scale(self: &Self) -> ScaleLayout
    

    Source

    set_scale

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

    Source

    translate

    fn translate(self: &Self) -> TranslateLayout
    

    Source

    set_translate

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

    Source

    rotate

    fn rotate(self: &Self) -> RotateLayout
    

    Source

    set_rotate

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

    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
    • Copy
    • Debug
    • Default
    • StructuralPartialEq
    • PartialEq

    Availability

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