FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    LayoutHandle

    struct · ferroui-designer-tools · v0.5.0

    struct LayoutHandle
    

    View source

    Members

    id

    id: String
    

    Source

    label

    label: String
    

    Source

    position

    position: crate::Point
    

    Source

    axis

    axis: crate::Axis
    

    Source

    value

    value: f64
    

    Source

    minimum

    minimum: f64
    

    Source

    maximum

    maximum: Option<f64>
    

    Source

    direction

    direction: f64
    

    +1 for leading/positive-axis handles, -1 for trailing padding handles.

    Source

    action

    action: LayoutHandleAction
    

    Source

    disabled_reason

    disabled_reason: Option<String>
    

    Source

    value_after_delta

    fn value_after_delta(self: &Self, delta: Point) -> Result<f64>
    

    Convert a panel-local pointer displacement to a validated, clamped draft value.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • DeserializeOwned
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Serialize
    • Deserialize<'de>

    Availability

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