pub enum SourceFormat {
OneLine,
MultiLine {
location: bool,
},
}Expand description
Output style for rendering error sources in a Report.
Variants§
Trait Implementations§
Source§impl Clone for SourceFormat
impl Clone for SourceFormat
impl Copy for SourceFormat
Auto Trait Implementations§
impl Forget for SourceFormat
impl Freeze for SourceFormat
impl RefUnwindSafe for SourceFormat
impl Send for SourceFormat
impl Sync for SourceFormat
impl Unpin for SourceFormat
impl UnsafeUnpin for SourceFormat
impl UnwindSafe for SourceFormat
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