Struct charts::PieChart[][src]

pub struct PieChart<C, M, D> where
    C: CanvasContext,
    M: Display,
    D: Display + Copy
{ /* fields omitted */ }

Implementations

impl<C, M, D> PieChart<C, M, D> where
    C: CanvasContext,
    M: Display,
    D: Display + Copy + Into<f64> + Ord + Default
[src]

pub fn new(options: PieChartOptions) -> Self[src]

pub fn get_legend_labels(&self) -> Vec<String>[src]

Trait Implementations

impl<C, M, D> Chart<C, M, D, PieEntity<D>> for PieChart<C, M, D> where
    C: CanvasContext,
    M: Display,
    D: Display + Copy + Into<f64> + Ord + Default
[src]

fn draw_axes_and_grid(&self, ctx: &C)[src]

Draws the axes and the grid.

fn draw_frame(&self, ctx: &C, time: Option<i64>)[src]

Draws the current animation frame.

If [time] is null, draws the last frame (i.e. no animation).

Auto Trait Implementations

impl<C, M, D> !RefUnwindSafe for PieChart<C, M, D>

impl<C, M, D> Send for PieChart<C, M, D> where
    C: Send,
    D: Send,
    M: Send

impl<C, M, D> !Sync for PieChart<C, M, D>

impl<C, M, D> Unpin for PieChart<C, M, D> where
    C: Unpin,
    D: Unpin,
    M: Unpin

impl<C, M, D> UnwindSafe for PieChart<C, M, D> where
    C: UnwindSafe,
    D: UnwindSafe,
    M: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<Fr, To> IntoColor<To> for Fr where
    To: FromColor<Fr>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,