FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    DrawnPropertiesDictionary

    struct · ferroui-livecharts · v0.5.0

    struct DrawnPropertiesDictionary
    

    Ordered, named setters and shared behaviors for one state. Replacing a setter preserves its insertion position, as in the source dictionary.

    View source

    Members

    origin

    origin: StateOrigin
    

    Source

    behaviors

    behaviors: Vec<std::rc::Rc<dyn IStateBehavior>>
    

    Source

    new

    fn new(setters: impl IntoIterator<Item = DrawnPropertySetter>) -> Self
    

    Source

    with_origin

    fn with_origin(self: Self, origin: StateOrigin) -> Self
    

    Source

    with_behavior

    fn with_behavior(self: Self, behavior: Rc<dyn IStateBehavior>) -> Self
    

    Source

    insert

    fn insert(self: &mut Self, setter: DrawnPropertySetter) -> Option<DrawnPropertySetter>
    

    Source

    get

    fn get(self: &Self, name: &str) -> Option<&DrawnPropertySetter>
    

    Source

    setters

    fn setters(self: &Self) -> impl Iterator<Item = &DrawnPropertySetter>
    

    Source

    len

    fn len(self: &Self) -> usize
    

    Source

    is_empty

    fn is_empty(self: &Self) -> bool
    

    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
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Clone
    • Default
    • Debug

    Availability

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