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
Source§fn clone(&self) -> SourceFormat
fn clone(&self) -> SourceFormat
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SourceFormat
impl Debug for SourceFormat
impl Copy for SourceFormat
Auto Trait Implementations§
impl Freeze for SourceFormat
impl RefUnwindSafe for SourceFormat
impl Send for SourceFormat
impl Sync for SourceFormat
impl Unpin 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