pub struct Doc { /* private fields */ }Expand description
A document of a chunk: its source, and where its text and lines lie among the chunk’s.
Implementations§
Trait Implementations§
impl Eq for Doc
impl StructuralPartialEq for Doc
Auto Trait Implementations§
impl !RefUnwindSafe for Doc
impl !Sync for Doc
impl !UnwindSafe for Doc
impl Freeze for Doc
impl Send for Doc
impl Unpin for Doc
impl UnsafeUnpin for Doc
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more