Enum graphviz_rust::cmd::CommandArg
source · pub enum CommandArg {
Custom(String),
Output(String),
Layout(Layout),
Format(Format),
}
Expand description
Command arguments that can be passed to exec.
The list of possible commands
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 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