pub struct RenderConfig {
pub styled: bool,
pub unicode: bool,
pub hyperlinks: bool,
pub width: usize,
pub short: bool,
pub anonymize_line_numbers: bool,
pub fold: bool,
}Expand description
A fully resolved, portable rendering configuration.
Fields§
§styled: bool§unicode: bool§hyperlinks: bool§width: usize§short: bool§anonymize_line_numbers: bool§fold: boolShow only the source lines a diagnostic’s labels and edits are on, with a few lines of context around them, rather than the whole of each source it refers to.
Implementations§
Source§impl RenderConfig
impl RenderConfig
Trait Implementations§
Source§impl Clone for RenderConfig
impl Clone for RenderConfig
impl Copy for RenderConfig
Source§impl Debug for RenderConfig
impl Debug for RenderConfig
Source§impl Default for RenderConfig
impl Default for RenderConfig
impl Eq for RenderConfig
Source§impl PartialEq for RenderConfig
impl PartialEq for RenderConfig
impl StructuralPartialEq for RenderConfig
Auto Trait Implementations§
impl Forget for RenderConfig
impl Freeze for RenderConfig
impl Move for RenderConfig
impl RefUnwindSafe for RenderConfig
impl Send for RenderConfig
impl Sync for RenderConfig
impl Unpin for RenderConfig
impl UnsafeUnpin for RenderConfig
impl UnwindSafe for RenderConfig
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