INNER CODE UNIT · Rust
set
bheisler/criterion.rs · plot/src/lib.rs:674
fn set(&mut self, title: Title) -> &mut Figure {
self.title = Some(title.0);
self
}
}
impl Default for Figure {
fn default() -> Self {
Self::new()
}
}
/// Box width for box-related plots: bars, candlesticks, etc
#[derive(Clone, Copy)]
pub struct BoxWidth(pub f64);
/// A font name
pub struct Font(Cow<'static, str>);