[][src]Struct codespan_reporting::term::Chars

pub struct Chars {
    pub source_border_top_left: char,
    pub source_border_top: char,
    pub source_border_left: char,
    pub note_bullet: char,
    pub primary_caret: char,
    pub secondary_caret: char,
    pub multiline_primary_caret: char,
    pub multiline_secondary_caret: char,
    pub multiline_top_left: char,
    pub multiline_top: char,
    pub multiline_bottom_left: char,
    pub multiline_bottom: char,
    pub multiline_left: char,
}

Characters to use when rendering the diagnostic.

Fields

source_border_top_left: char

The character to use for the top-left border of the source. Defaults to: '┌'.

source_border_top: char

The character to use for the top border of the source. Defaults to: '─'.

source_border_left: char

The character to use for the left border of the source. Defaults to: '│'.

note_bullet: char

The character to use for the note bullet. Defaults to: '='.

primary_caret: char

The character to use for marking a primary label. Defaults to: '^'.

secondary_caret: char

The character to use for marking a secondary label. Defaults to: '-'.

multiline_primary_caret: char

The character to use for marking the ends of a multi-line primary label. Defaults to: '^'.

multiline_secondary_caret: char

The character to use for marking the ends of a multi-line secondary label. Defaults to: '\''.

multiline_top_left: char

The character to use for the top-left corner of a multi-line label. Defaults to: '╭'.

multiline_top: char

The character to use for the top of a multi-line label. Defaults to: '─'.

multiline_bottom_left: char

The character to use for the bottom-left corner of a multi-line label. Defaults to: '╰'.

multiline_bottom: char

The character to use when marking the bottom of a multi-line label. Defaults to: '─'.

multiline_left: char

The character to use for the left of a multi-line label. Defaults to: '│'.

Trait Implementations

impl Clone for Chars[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for Chars[src]

impl Debug for Chars[src]

Auto Trait Implementations

impl Send for Chars

impl Unpin for Chars

impl Sync for Chars

impl UnwindSafe for Chars

impl RefUnwindSafe for Chars

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]