FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PathStep

    struct · ferroui-system · v0.5.0

    struct PathStep
    

    One step of a path, type-erased (one member access of upstream's expression chain).

    The steps of a path run in order: the first reads from the source of the path, each next one from the value the step before produced. get and owner take that value as &dyn Any; a value of another type is a programming error, and they panic.

    View source

    Members

    name

    name: String
    

    The name of the property (SearchTerm).

    Source

    get

    get: std::rc::Rc<dyn Fn(&dyn Any) -> Box<dyn Any>>
    

    The value of the step, from the value of the previous one (or the source of the path).

    Source

    owner

    owner: std::rc::Rc<dyn Fn(&dyn Any) -> PropertyOwner>
    

    The object that owns the property, from the value of the previous step.

    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
    • Clone
    • Debug

    Availability

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