gnuplot_wrapper/commands/break_command.rs
use crate::{command::Command, script::Script};
/// http://gnuplot.info/docs_5.5/loc6509.html
pub struct Break {}
impl Break {
pub fn new() -> Self {
return Break {};
}
}
impl Command for Break {
fn to_raw(&self) -> String {
return "break".to_owned();
}
}
impl Script {
pub fn break_command(&mut self) {
self.add_command(Break::new());
}
}