FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    LayoutInformation

    struct · ferroui-base · v0.5.0

    struct LayoutInformation
    

    Provides access to layout information of a control.

    View source

    Members

    get_previous_measure_constraint

    fn get_previous_measure_constraint(control: &Layoutable) -> Option<Size>
    

    Gets the available size constraint passed in the previous layout pass.

    Returns the previous control measure constraint, if any.

    Source

    get_previous_arrange_bounds

    fn get_previous_arrange_bounds(control: &Layoutable) -> Option<Rect>
    

    Gets the control bounds used in the previous layout arrange pass.

    Returns the previous control arrange bounds, if any.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ErasedDestructor
    • IntoEither

    Availability

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