[][src]Trait nu_source::PrettyDebugWithSource

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

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

Required methods

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

Loading content...

Provided methods

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

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

pub 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

impl PrettyDebugWithSource for Span[src]

impl<T: PrettyDebug> PrettyDebugWithSource for T[src]

Loading content...