pub struct Config { /* private fields */ }Expand description
Configuration for a Report.
Implementations§
Source§impl Config
impl Config
Sourcepub fn width(&self) -> usize
pub fn width(&self) -> usize
Gets the width of this report.
§Examples
use bitbelay_report::Config;
let config = Config::default();
assert_eq!(config.width(), 80);Sourcepub fn write_test_result_descriptions(&self) -> bool
pub fn write_test_result_descriptions(&self) -> bool
Returns whether or not descriptions of test reports will be written.
§Examples
use bitbelay_report::Config;
let config = Config::default();
assert_eq!(config.write_test_result_descriptions(), true);Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more