Struct llamapun::patterns::TextMarker
source · [−]pub struct TextMarker<'t> {
pub range: DNMRange<'t>,
pub marker: PatternMarker,
}
Expand description
A marked text range
Fields
range: DNMRange<'t>
the marked range
marker: PatternMarker
the marker
Trait Implementations
sourceimpl<'t> Clone for TextMarker<'t>
impl<'t> Clone for TextMarker<'t>
sourcefn clone(&self) -> TextMarker<'t>
fn clone(&self) -> TextMarker<'t>
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 moreAuto Trait Implementations
impl<'t> RefUnwindSafe for TextMarker<'t>
impl<'t> Send for TextMarker<'t>
impl<'t> Sync for TextMarker<'t>
impl<'t> Unpin for TextMarker<'t>
impl<'t> UnwindSafe for TextMarker<'t>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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