Trait dprint_swc_ext::common::SourceTextInfoProvider

source ·
pub trait SourceTextInfoProvider<'a> {
    // Required method
    fn text_info(&self) -> &'a SourceTextInfo;
}

Required Methods§

Implementors§

source§

impl<'a> SourceTextInfoProvider<'a> for &'a SourceTextInfo

source§

impl<'a, T> SourceTextInfoProvider<'a> for T
where T: RootNode<'a>,