pub enum Run {
Show,
Save(PathBuf),
SaveShow(PathBuf),
Debug,
Build,
}
Expand description
Determines the final IO command(s) in the plotting script generated by an
Mpl
.
Variants§
Show
Call pyplot.show
to display interactive figure(s).
Save(PathBuf)
Call pyplot.Figure.savefig
to save the plot to a file.
SaveShow(PathBuf)
Save
and then Show
.
Debug
Perform no plotting IO, just build the script and call Python on it (for debugging purposes).
Build
Build the script, but don’t call Python on it (for debugging purposes).
Trait Implementations§
Source§impl BitAndAssign<Run> for Mpl
impl BitAndAssign<Run> for Mpl
Source§fn bitand_assign(&mut self, mode: Run)
fn bitand_assign(&mut self, mode: Run)
Performs the
&=
operation. Read moreimpl Eq for Run
impl StructuralPartialEq for Run
Auto Trait Implementations§
impl Freeze for Run
impl RefUnwindSafe for Run
impl Send for Run
impl Sync for Run
impl Unpin for Run
impl UnwindSafe for Run
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