Trait CreatePlottingRoot

pub trait CreatePlottingRoot {
    // Required method
    fn create_bitmap_root<'a, T>(
        &self,
        image_size: u32,
        filename: &'a T,
    ) -> Result<DrawingArea<BitMapBackend<'a>, Cartesian2d<RangedCoordf64, RangedCoordf64>>, DrawingError>
       where T: AsRef<Path> + ?Sized;
}
Expand description

Creates a new plotting root which can then be drawn upon.

Required Methods§

fn create_bitmap_root<'a, T>( &self, image_size: u32, filename: &'a T, ) -> Result<DrawingArea<BitMapBackend<'a>, Cartesian2d<RangedCoordf64, RangedCoordf64>>, DrawingError>
where T: AsRef<Path> + ?Sized,

Creates a bitmap plotting root.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§