pub enum ReportStyle {
Snippets,
Lines,
}Expand description
How Ctx::report_raised shows each place in a trace.
Variants§
Snippets
At its line, with the span marked, as report
shows it.
Lines
On one line, name:line:column: message, indented by two spaces.
Trait Implementations§
Source§impl Clone for ReportStyle
impl Clone for ReportStyle
Source§fn clone(&self) -> ReportStyle
fn clone(&self) -> ReportStyle
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 ReportStyle
Source§impl Debug for ReportStyle
impl Debug for ReportStyle
Source§impl Default for ReportStyle
impl Default for ReportStyle
Source§fn default() -> ReportStyle
fn default() -> ReportStyle
Returns the “default value” for a type. Read more
impl Eq for ReportStyle
Source§impl PartialEq for ReportStyle
impl PartialEq for ReportStyle
Source§fn eq(&self, other: &ReportStyle) -> bool
fn eq(&self, other: &ReportStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReportStyle
Auto Trait Implementations§
impl Freeze for ReportStyle
impl RefUnwindSafe for ReportStyle
impl Send for ReportStyle
impl Sync for ReportStyle
impl Unpin for ReportStyle
impl UnsafeUnpin for ReportStyle
impl UnwindSafe for ReportStyle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more