[−][src]Trait batsat::clause::display::Print
Objects that can be printed in DIMACS syntax
Required methods
pub fn fmt_dimacs(&self, out: &mut Formatter<'_>) -> Result
[src]
Provided methods
pub fn pp_dimacs(&self) -> PrintWrapper<'_, Self>
[src]
Any type implementing T
can be used in a format string by
just using x.pp_dimacs()
instead of x
.
use batsat::*; let v: Vec<Lit> = vec![]; format!("as dimacs: {}", v.pp_dimacs());
Implementors
impl<T: ClauseIterable> Print for T
[src]
Any iterable clause can be printed in DIMACS