struct PositionIndex {
source: String,
line_starts: Vec<usize>,
}Fields§
§source: String§line_starts: Vec<usize>Implementations§
Trait Implementations§
Source§impl Clone for PositionIndex
impl Clone for PositionIndex
Source§fn clone(&self) -> PositionIndex
fn clone(&self) -> PositionIndex
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PositionIndex
impl RefUnwindSafe for PositionIndex
impl Send for PositionIndex
impl Sync for PositionIndex
impl Unpin for PositionIndex
impl UnsafeUnpin for PositionIndex
impl UnwindSafe for PositionIndex
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more