pub enum SearchScope {
All,
Lines {
start: usize,
end: usize,
},
Sections(Vec<String>),
Range(Range),
}Expand description
Defines the scope of a search operation
Variants§
All
Search entire document
Lines
Search within specific line range
Sections(Vec<String>)
Search within specific sections (e.g., Events, Styles)
Range(Range)
Search within a character range
Trait Implementations§
Source§impl Clone for SearchScope
impl Clone for SearchScope
Source§fn clone(&self) -> SearchScope
fn clone(&self) -> SearchScope
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 moreSource§impl Debug for SearchScope
impl Debug for SearchScope
Source§impl PartialEq for SearchScope
impl PartialEq for SearchScope
impl Eq for SearchScope
impl StructuralPartialEq for SearchScope
Auto Trait Implementations§
impl Freeze for SearchScope
impl RefUnwindSafe for SearchScope
impl Send for SearchScope
impl Sync for SearchScope
impl Unpin for SearchScope
impl UnwindSafe for SearchScope
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