pub struct NoteLineHit {
pub number: u32,
pub anchor: LineAnchor,
pub start_byte: u32,
pub end_byte: u32,
pub text: Option<String>,
}Expand description
One search hit within a body line.
Fields§
§number: u32§anchor: LineAnchor§start_byte: u32§end_byte: u32§text: Option<String>Trait Implementations§
Source§impl Clone for NoteLineHit
impl Clone for NoteLineHit
Source§impl Debug for NoteLineHit
impl Debug for NoteLineHit
Source§impl<'de> Deserialize<'de> for NoteLineHit
impl<'de> Deserialize<'de> for NoteLineHit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NoteLineHit
Source§impl PartialEq for NoteLineHit
impl PartialEq for NoteLineHit
Source§impl Serialize for NoteLineHit
impl Serialize for NoteLineHit
impl StructuralPartialEq for NoteLineHit
Auto Trait Implementations§
impl Freeze for NoteLineHit
impl RefUnwindSafe for NoteLineHit
impl Send for NoteLineHit
impl Sync for NoteLineHit
impl Unpin for NoteLineHit
impl UnsafeUnpin for NoteLineHit
impl UnwindSafe for NoteLineHit
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