pub struct DocumentHighlights { /* private fields */ }Implementations§
Source§impl DocumentHighlights
impl DocumentHighlights
pub fn line(&self, index: usize) -> Option<&[HighlightSpan]>
pub fn line_count(&self) -> usize
Trait Implementations§
Source§impl Clone for DocumentHighlights
impl Clone for DocumentHighlights
Source§impl Debug for DocumentHighlights
impl Debug for DocumentHighlights
Auto Trait Implementations§
impl Freeze for DocumentHighlights
impl RefUnwindSafe for DocumentHighlights
impl Send for DocumentHighlights
impl Sync for DocumentHighlights
impl Unpin for DocumentHighlights
impl UnsafeUnpin for DocumentHighlights
impl UnwindSafe for DocumentHighlights
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