Trait nu_source::PrettyDebugWithSource[][src]

pub trait PrettyDebugWithSource: Sized {
    fn pretty_debug(&self, source: &str) -> DebugDocBuilder;

    fn refined_pretty_debug(
        &self,
        _refine: PrettyDebugRefineKind,
        source: &str
    ) -> DebugDocBuilder { ... }
fn debug(&self, source: impl Into<Text>) -> String
    where
        Self: Clone
, { ... }
fn debuggable(self, source: impl Into<Text>) -> DebuggableWithSource<Self> { ... } }

Required methods

fn pretty_debug(&self, source: &str) -> DebugDocBuilder[src]

Loading content...

Provided methods

fn refined_pretty_debug(
    &self,
    _refine: PrettyDebugRefineKind,
    source: &str
) -> DebugDocBuilder
[src]

fn debug(&self, source: impl Into<Text>) -> String where
    Self: Clone
[src]

fn debuggable(self, source: impl Into<Text>) -> DebuggableWithSource<Self>[src]

Loading content...

Implementations on Foreign Types

impl PrettyDebugWithSource for Option<Span>[src]

impl<T> PrettyDebugWithSource for Option<Spanned<T>> where
    Spanned<T>: PrettyDebugWithSource
[src]

impl<T> PrettyDebugWithSource for Option<Tagged<T>> where
    Tagged<T>: PrettyDebugWithSource
[src]

impl<T: PrettyDebugWithSource, E> PrettyDebugWithSource for Result<T, E>[src]

Loading content...

Implementors

Loading content...