Enum textplots::Shape[][src]

pub enum Shape<'a> {
    Continuous(fn(_: f32) -> f32),
    Lines(&'a [(f32, f32)]),
    Steps(&'a [(f32, f32)]),
    Bars(&'a [(f32, f32)]),
}

Specifies different kinds of plotted data.

Variants

Real value function

Points connected with lines.

Points connected in step fashion.

Points represented with bars.

Auto Trait Implementations

impl<'a> Send for Shape<'a>

impl<'a> Sync for Shape<'a>