pub enum GnuplotTerminal {
EpsLatex(String),
PDF(String),
Empty,
}
Expand description
§Options for choosing gnuplot Terminal
Variants§
EpsLatex(String)
§Use EpsLatex as terminal in gnuplot
- The String here is the output name, i.e., the filepath of the output of gnuplot (without the .tex) Only alphanumeric characters, space and underscore are allowed, all other characters will be ignored
- the created gnuplot script assumes, you have
latexmk
installed - if you do not have latexmk, you can still use this, but you have to manually edit the gnuplot scrip later on
- gnuplot script will create
.tex
file and.pdf
file created from the tex file
§WARNING
The created gnuplot script will contain a system call to latexmk, such that a pdf file is generated from a tex file without the need for calling latexmk afterwards.
PDF(String)
§Use pdf as gnuplot terminal
- gnuplot script will create a
.pdf
file - The String here is the output name, i.e., the filepath of the output of gnuplot (without the .pdf)
Empty
§Does not specify a terminal
Trait Implementations§
Source§impl Clone for GnuplotTerminal
impl Clone for GnuplotTerminal
Source§fn clone(&self) -> GnuplotTerminal
fn clone(&self) -> GnuplotTerminal
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GnuplotTerminal
impl Debug for GnuplotTerminal
Source§impl<'de> Deserialize<'de> for GnuplotTerminal
impl<'de> Deserialize<'de> for GnuplotTerminal
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GnuplotTerminal
impl RefUnwindSafe for GnuplotTerminal
impl Send for GnuplotTerminal
impl Sync for GnuplotTerminal
impl Unpin for GnuplotTerminal
impl UnwindSafe for GnuplotTerminal
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more