FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PieChartEngine

    struct · ferroui-livecharts · v0.5.0

    struct PieChartEngine
    

    View source

    Members

    measure

    fn measure(size: Size, series: &[Series], options: &PieOptions) -> Result<Scene, ChartError>
    

    Source

    measure_with_labels

    fn measure_with_labels(size: Size, series: &[Series], options: &PieOptions, measure_text: impl FnMut(&str, f64) -> Size) -> Result<Scene, ChartError>
    

    Native hosts supply their text shaper so outer label reservation and centered labels use the same font metrics as the final drawing.

    Source

    Trait implementations

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

    Availability

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