dprint_swc_ext::common

Trait 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>,