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.
Members
name
name: String
The name of the property (SearchTerm).
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).
owner
owner: std::rc::Rc<dyn Fn(&dyn Any) -> PropertyOwner>
The object that owns the property, from the value of the previous step.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedCloneDebug
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.