pub struct OutputContext {
pub format: OutputFormat,
pub show_hints: bool,
pub force_hex: bool,
pub show_timing: bool,
}Expand description
Output context for formatting.
Fields§
§format: OutputFormat§show_hints: bool§force_hex: bool§show_timing: boolImplementations§
Source§impl OutputContext
impl OutputContext
Sourcepub fn new(format: OutputFormat) -> Self
pub fn new(format: OutputFormat) -> Self
Create a new output context with default settings.
Auto Trait Implementations§
impl Freeze for OutputContext
impl RefUnwindSafe for OutputContext
impl Send for OutputContext
impl Sync for OutputContext
impl Unpin for OutputContext
impl UnwindSafe for OutputContext
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