Struct charts::GaugeEntity[][src]

pub struct GaugeEntity<D> { /* fields omitted */ }

Implementations

impl<D> GaugeEntity<D>[src]

pub fn is_empty(&self) -> bool[src]

pub fn contains_point(&self, p: Point<f64>) -> bool[src]

Trait Implementations

impl<C, M, D> Chart<C, M, D, GaugeEntity<D>> for GaugeChart<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).

impl<D: Clone> Clone for GaugeEntity<D>[src]

impl<D: Default> Default for GaugeEntity<D>[src]

impl<C, D> Drawable<C> for GaugeEntity<D> where
    C: CanvasContext,
    D: Display + Copy + Into<f64> + Ord + Default
[src]

impl<D> Entity for GaugeEntity<D>[src]

Auto Trait Implementations

impl<D> !RefUnwindSafe for GaugeEntity<D>

impl<D> Send for GaugeEntity<D> where
    D: Send

impl<D> !Sync for GaugeEntity<D>

impl<D> Unpin for GaugeEntity<D> where
    D: Unpin

impl<D> UnwindSafe for GaugeEntity<D> where
    D: 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> Construction<T> for T where
    T: Default + Clone

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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>,