LayoutPlacement
struct · ferroui-designer-tools · v0.5.0
struct LayoutPlacement
Members
container
container: ferroui_designer_core::NodeId
Actual Children/Content/Child AST container, not necessarily the visual panel node.
index
index: usize
Element insertion boundary in the original AST, before removing dragged_nodes.
attributes
attributes: Vec<(String, String)>
bounds
bounds: crate::Rect
description
description: String
rejection
rejection: Option<String>
rejected
fn rejected(context: &LayoutContext<'_>, panel: NodeId, reason: impl Into<String>) -> Result<Self>
validate
fn validate(self: &Self) -> Result<()>
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedDeserializeOwnedCloneDebugStructuralPartialEqPartialEqSerializeDeserialize<'de>
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.