INNER CODE UNIT · Rust
set
bheisler/criterion.rs · plot/src/lib.rs:610
fn set(&mut self, width: BoxWidth) -> &mut Figure {
let width = width.0;
assert!(width >= 0.);
self.box_width = Some(width);
self
}
}
impl Set<Font> for Figure {
/// Changes the font
fn set(&mut self, font: Font) -> &mut Figure {
self.font = Some(font.0);
self
}
}