pub trait MatPlotLib {
// Required methods
fn import_pyplot_as_plt(&mut self) -> &mut Self;
fn plot_y<Y: AsPythonLitteral>(&mut self, y: &Y) -> &mut Self;
fn plot_xy<X: AsPythonLitteral, Y: AsPythonLitteral>(
&mut self,
x: &X,
y: &Y,
) -> &mut Self;
fn plot_xyargs<X: AsPythonLitteral, Y: AsPythonLitteral>(
&mut self,
x: &X,
y: &Y,
args: &str,
) -> &mut Self;
fn semilogy_y<Y: AsPythonLitteral>(&mut self, y: &Y) -> &mut Self;
fn semilogy_xy<X: AsPythonLitteral, Y: AsPythonLitteral>(
&mut self,
x: &X,
y: &Y,
) -> &mut Self;
fn semilogy_xyargs<X: AsPythonLitteral, Y: AsPythonLitteral>(
&mut self,
x: &X,
y: &Y,
args: &str,
) -> &mut Self;
fn show(&mut self) -> &mut Self;
}Required Methods§
fn import_pyplot_as_plt(&mut self) -> &mut Self
fn plot_y<Y: AsPythonLitteral>(&mut self, y: &Y) -> &mut Self
fn plot_xy<X: AsPythonLitteral, Y: AsPythonLitteral>( &mut self, x: &X, y: &Y, ) -> &mut Self
fn plot_xyargs<X: AsPythonLitteral, Y: AsPythonLitteral>( &mut self, x: &X, y: &Y, args: &str, ) -> &mut Self
fn semilogy_y<Y: AsPythonLitteral>(&mut self, y: &Y) -> &mut Self
fn semilogy_xy<X: AsPythonLitteral, Y: AsPythonLitteral>( &mut self, x: &X, y: &Y, ) -> &mut Self
fn semilogy_xyargs<X: AsPythonLitteral, Y: AsPythonLitteral>( &mut self, x: &X, y: &Y, args: &str, ) -> &mut Self
fn show(&mut self) -> &mut Self
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.