pub struct Plotter { /* private fields */ }Expand description
A Plotter Object that can plot the dataset
Implementations§
Source§impl Plotter
 
impl Plotter
Sourcepub fn plot(
    &self,
    size: (u32, u32),
    name: &'static str,
    port: String,
    options: PlotOptions,
)
 
pub fn plot( &self, size: (u32, u32), name: &'static str, port: String, options: PlotOptions, )
Plots the dataset on a HTML Canvas and starts a server
§Arguments
size- a tuple of u32 containing (width, height)name- title of the HTML Page (unimplemented)port- the port (on localhost) that the page opens tooptions- the options that the Plotter will use to plot
§Example
//Plotter from above
p.plot((640,480),"hello world", String::from("8080"), PlotOptions::new());Trait Implementations§
Auto Trait Implementations§
impl Freeze for Plotter
impl RefUnwindSafe for Plotter
impl Send for Plotter
impl Sync for Plotter
impl Unpin for Plotter
impl UnwindSafe for Plotter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more