[][src]Trait nu_source::PrettyDebugWithSource

pub trait PrettyDebugWithSource: Sized {
    fn pretty_debug(&self, 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

Loading content...

Provided methods

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

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

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]

Loading content...

Implementors

impl PrettyDebugWithSource for Span[src]

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

Loading content...