FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PreviewStageMatrix

    struct · ferroui-designer · v0.5.0

    struct PreviewStageMatrix
    

    An empty environment axis keeps the base stage's value. Each nonempty axis participates in the Cartesian product. State axes override only their named owner/group; the base stage's other selected state endpoints remain intact.

    View source

    Members

    sizes

    sizes: Vec<PreviewStageMatrixSize>
    

    Source

    themes

    themes: Vec<crate::PreviewTheme>
    

    Source

    directions

    directions: Vec<crate::PreviewFlowDirection>
    

    Source

    design_time_data

    design_time_data: Vec<bool>
    

    Source

    state_groups

    state_groups: Vec<PreviewStageStateAxis>
    

    Source

    count

    fn count(self: &Self) -> Result<usize, String>
    

    Validate descriptors and count without allocating the expanded product.

    Source

    expand

    fn expand(self: &Self, base: &PreviewStageConfiguration, document: &Document, available: usize) -> Result<Vec<PreviewStageConfiguration>, String>
    

    Produce deterministic configurations using the current authored source. Invalid/ambiguous owners, definitions and state names reject the entire plan. Native rendering failures after installation remain individual card diagnostics.

    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
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • DeserializeOwned
    • ErasedDestructor
    • IntoEither
    • Same
    • TreeModel
    • Clone
    • Debug
    • Default
    • StructuralPartialEq
    • PartialEq
    • Serialize
    • Deserialize<'de>

    Availability

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