FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    RecycleKey

    enum · ferroui-controls · v0.5.0

    enum RecycleKey
    

    A key that locates previously recycled containers of the right kind for an item.

    View source

    Members

    Default

    Default
    

    The default key, for an items control that supports a single container type.

    Source

    Type

    Type(std::any::TypeId)
    

    A key identifying containers by a Rust type.

    Source

    Id

    Id(u64)
    

    A key allocated with RecycleKey::new_unique or chosen by the items control.

    Source

    new_unique

    fn new_unique() -> Self
    

    Allocates a key that is different from every other key on the current thread.

    Source

    of

    fn of<T: 'static>() -> Self
    

    The key identifying containers by the type T.

    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
    • ResourceKeyObject
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • Copy
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq
    • Hash

    Availability

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