pub struct SectionPattern {
pub pattern: String,
pub section_type: SectionType,
pub priority: u32,
}Expand description
Section detection pattern
Fields§
§pattern: StringPattern regex
section_type: SectionTypeSection type
priority: u32Priority (higher = more specific)
Trait Implementations§
Source§impl Clone for SectionPattern
impl Clone for SectionPattern
Source§fn clone(&self) -> SectionPattern
fn clone(&self) -> SectionPattern
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 moreAuto Trait Implementations§
impl Freeze for SectionPattern
impl RefUnwindSafe for SectionPattern
impl Send for SectionPattern
impl Sync for SectionPattern
impl Unpin for SectionPattern
impl UnwindSafe for SectionPattern
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