pub struct File<'a> {
pub name: &'a str,
pub text: &'a str,
pub lines: &'a LineIndex,
pub index: &'a Index,
}Expand description
One file of the set, as it is now.
Fields§
§name: &'a strWhatever names it for the caller.
text: &'a str§lines: &'a LineIndex§index: &'a IndexAuto Trait Implementations§
impl<'a> Forget for File<'a>
impl<'a> Freeze for File<'a>
impl<'a> Move for File<'a>
impl<'a> RefUnwindSafe for File<'a>
impl<'a> Send for File<'a>
impl<'a> Sync for File<'a>
impl<'a> Unpin for File<'a>
impl<'a> UnsafeUnpin for File<'a>
impl<'a> UnwindSafe for File<'a>
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