Struct pepper::buffer::WordRefWithIndex
source · [−]Fields
kind: WordKind
text: &'a str
index: usize
Implementations
sourceimpl<'a> WordRefWithIndex<'a>
impl<'a> WordRefWithIndex<'a>
pub fn to_word_ref_with_position(
self,
line_index: usize
) -> WordRefWithPosition<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for WordRefWithIndex<'a>
impl<'a> Send for WordRefWithIndex<'a>
impl<'a> Sync for WordRefWithIndex<'a>
impl<'a> Unpin for WordRefWithIndex<'a>
impl<'a> UnwindSafe for WordRefWithIndex<'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