Trait rustfmt_core::codemap::SpanUtils [] [src]

pub trait SpanUtils {
    fn span_after(&self, original: Span, needle: &str) -> BytePos;
fn span_after_last(&self, original: Span, needle: &str) -> BytePos;
fn span_before(&self, original: Span, needle: &str) -> BytePos;
fn opt_span_after(&self, original: Span, needle: &str) -> Option<BytePos>; }

Required Methods

Implementors