INNER CODE UNIT · Rust
set
bheisler/criterion.rs · plot/src/lib.rs:666
fn set(&mut self, terminal: Terminal) -> &mut Figure {
self.terminal = terminal;
self
}
}
impl Set<Title> for Figure {
/// Sets the title
fn set(&mut self, title: Title) -> &mut Figure {
self.title = Some(title.0);
self
}
}
impl Default for Figure {
fn default() -> Self {
Self::new()
}