FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    LayoutPlacement

    struct · ferroui-designer-tools · v0.5.0

    struct LayoutPlacement
    

    View source

    Members

    container

    container: ferroui_designer_core::NodeId
    

    Actual Children/Content/Child AST container, not necessarily the visual panel node.

    Source

    index

    index: usize
    

    Element insertion boundary in the original AST, before removing dragged_nodes.

    Source

    attributes

    attributes: Vec<(String, String)>
    

    Source

    bounds

    bounds: crate::Rect
    

    Source

    description

    description: String
    

    Source

    rejection

    rejection: Option<String>
    

    Source

    rejected

    fn rejected(context: &LayoutContext<'_>, panel: NodeId, reason: impl Into<String>) -> Result<Self>
    

    Source

    validate

    fn validate(self: &Self) -> Result<()>
    

    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.