FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CaseCollection

    struct · ferroui-xaml-interactions-custom · v0.5.0

    struct CaseCollection
    

    The cases of a SwitchCaseAction or a SwitchCaseBehavior: a list of Case.

    Deviation (DEVIATIONS.md, Behaviors): the reference types the cases as the generic list of the framework of Case; here they are a named list (as the class setters of the responsive behaviors), so that markup can add the cases of a document to it.

    It is a reference object: clones refer to the same collection and compare by identity.

    View source

    Members

    new

    fn new() -> Self
    

    Creates an empty collection.

    Source

    list

    fn list(self: &Self) -> &FerroList<Ref<Case>>
    

    The list of the collection.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Receiver
    • Any
    • ToOwned
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • StructuralPartialEq
    • PartialEq
    • Default
    • Deref
    • Debug
    • MarkupTyped

    Availability

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