pub enum MessageFormat {
Human,
Json {
render_diagnostics: bool,
short: bool,
ansi: bool,
},
Short,
}Variants§
Human
Json
Fields
Short
Trait Implementations§
Source§impl Clone for MessageFormat
impl Clone for MessageFormat
Source§fn clone(&self) -> MessageFormat
fn clone(&self) -> MessageFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MessageFormat
Source§impl Debug for MessageFormat
impl Debug for MessageFormat
impl Eq for MessageFormat
Source§impl PartialEq for MessageFormat
impl PartialEq for MessageFormat
Source§fn eq(&self, other: &MessageFormat) -> bool
fn eq(&self, other: &MessageFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MessageFormat
Auto Trait Implementations§
impl Freeze for MessageFormat
impl RefUnwindSafe for MessageFormat
impl Send for MessageFormat
impl Sync for MessageFormat
impl Unpin for MessageFormat
impl UnsafeUnpin for MessageFormat
impl UnwindSafe for MessageFormat
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