FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    DataLabelOverride

    struct · ferroui-controls-charts · v0.5.0

    struct DataLabelOverride
    

    Immutable presentation for a label at one zero-based source sample index. A missing brush uses the series' effective data-label brush.

    View source

    Members

    new

    fn new(text: impl Into<String>, brush: Option<Rc<dyn IBrush>>) -> Rc<Self>
    

    Source

    text

    fn text(self: &Self) -> &str
    

    Source

    brush

    fn brush(self: &Self) -> Option<Rc<dyn IBrush>>
    

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • AnyValue
    • ClassDefaults
    • ErasedDestructor
    • IntoEither
    • Debug
    • PartialEq
    • MarkupTyped

    Availability

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