pub enum CommandArg {
Custom(String),
Output(String),
Layout(Layout),
Format(Format),
}
Expand description
Commandline arguments that can be passed to executable.
The list of possible commands can be found here: https://graphviz.org/doc/info/command.html.
Variants§
Custom(String)
any custom argument.
Note: it does not manage any prefixes and thus ‘-’ or the prefix must be passed as well.
Output(String)
Regulates the output file with -o prefix
Layout(Layout)
Layouts
in cmd
Format(Format)
Output
formats in cmd
Trait Implementations§
Source§impl From<Format> for CommandArg
impl From<Format> for CommandArg
Auto Trait Implementations§
impl Freeze for CommandArg
impl RefUnwindSafe for CommandArg
impl Send for CommandArg
impl Sync for CommandArg
impl Unpin for CommandArg
impl UnwindSafe for CommandArg
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