Trait good_lp::variable::FormatWithVars [−][src]
An element that can be displayed if you give a variable display function
Required methods
fn format_with<FUN>(
&self,
f: &mut Formatter<'_>,
variable_format: FUN
) -> Result where
FUN: Fn(&mut Formatter<'_>, Variable<F>) -> Result,
[src]
&self,
f: &mut Formatter<'_>,
variable_format: FUN
) -> Result where
FUN: Fn(&mut Formatter<'_>, Variable<F>) -> Result,
Write the element to the formatter. See std::fmt::Display
Provided methods
fn format_debug(&self, f: &mut Formatter<'_>) -> Result
[src]
Write the elements, naming the variables v0, v1, ... vn
Implementors
impl<F> FormatWithVars<F> for Constraint<F>
[src]
fn format_with<FUN>(
&self,
f: &mut Formatter<'_>,
variable_format: FUN
) -> Result where
FUN: Fn(&mut Formatter<'_>, Variable<F>) -> Result,
[src]
&self,
f: &mut Formatter<'_>,
variable_format: FUN
) -> Result where
FUN: Fn(&mut Formatter<'_>, Variable<F>) -> Result,