[−][src]Struct codespan_reporting::term::Chars
Characters to use when rendering the diagnostic.
Fields
source_border_top_left: charThe character to use for the top-left border of the source.
Defaults to: '┌'.
source_border_top: charThe character to use for the top border of the source.
Defaults to: '─'.
source_border_left: charThe character to use for the left border of the source.
Defaults to: '│'.
source_border_left_break: charThe character to use for the left border break of the source.
Defaults to: '·'.
note_bullet: charThe character to use for the note bullet.
Defaults to: '='.
single_primary_caret: charThe character to use for marking a single-line primary label.
Defaults to: '^'.
single_secondary_caret: charThe character to use for marking a single-line secondary label.
Defaults to: '-'.
multi_primary_caret_start: charThe character to use for marking the start of a multi-line primary label.
Defaults to: '^'.
multi_primary_caret_end: charThe character to use for marking the end of a multi-line primary label.
Defaults to: '^'.
multi_secondary_caret_start: charThe character to use for marking the start of a multi-line secondary label.
Defaults to: '\''.
multi_secondary_caret_end: charThe character to use for marking the end of a multi-line secondary label.
Defaults to: '\''.
multi_top_left: charThe character to use for the top-left corner of a multi-line label.
Defaults to: '╭'.
multi_top: charThe character to use for the top of a multi-line label.
Defaults to: '─'.
multi_bottom_left: charThe character to use for the bottom-left corner of a multi-line label.
Defaults to: '╰'.
multi_bottom: charThe character to use when marking the bottom of a multi-line label.
Defaults to: '─'.
multi_left: charThe character to use for the left of a multi-line label.
Defaults to: '│'.
pointer_left: charThe character to use for the left of a pointer underneath a caret.
Defaults to: '│'.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Chars
impl Send for Chars
impl Sync for Chars
impl Unpin for Chars
impl UnwindSafe for Chars
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,