INNER CODE UNIT · Rust
set
bheisler/criterion.rs · plot/src/lib.rs:648
fn set(&mut self, output: Output) -> &mut Figure {
self.output = output.0;
self
}
}
impl Set<Size> for Figure {
/// Changes the figure size
fn set(&mut self, size: Size) -> &mut Figure {
self.size = Some((size.0, size.1));
self
}
}
impl Set<Terminal> for Figure {
/// Changes the output terminal
///
/// **Note** By default, the terminal is set to `Svg`