Struct pepper::buffer::WordRefWithPosition
source · [−]pub struct WordRefWithPosition<'a> {
pub kind: WordKind,
pub text: &'a str,
pub position: BufferPosition,
}
Fields
kind: WordKind
text: &'a str
position: BufferPosition
Implementations
sourceimpl<'a> WordRefWithPosition<'a>
impl<'a> WordRefWithPosition<'a>
pub fn end_position(&self) -> BufferPosition
Auto Trait Implementations
impl<'a> RefUnwindSafe for WordRefWithPosition<'a>
impl<'a> Send for WordRefWithPosition<'a>
impl<'a> Sync for WordRefWithPosition<'a>
impl<'a> Unpin for WordRefWithPosition<'a>
impl<'a> UnwindSafe for WordRefWithPosition<'a>
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