Struct parsel::util::SpanDisplay
source · [−]pub struct SpanDisplay { /* private fields */ }
Expand description
Helper type that formats a Span
in a human-readable way.
Implementations
sourceimpl SpanDisplay
impl SpanDisplay
Trait Implementations
sourceimpl Clone for SpanDisplay
impl Clone for SpanDisplay
sourcefn clone(&self) -> SpanDisplay
fn clone(&self) -> SpanDisplay
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SpanDisplay
impl Debug for SpanDisplay
sourceimpl Display for SpanDisplay
impl Display for SpanDisplay
sourceimpl From<Span> for SpanDisplay
impl From<Span> for SpanDisplay
impl Copy for SpanDisplay
Auto Trait Implementations
impl RefUnwindSafe for SpanDisplay
impl !Send for SpanDisplay
impl !Sync for SpanDisplay
impl Unpin for SpanDisplay
impl UnwindSafe for SpanDisplay
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more