pub struct SectionConfig {
pub rules: Vec<SectionPattern>,
}Fields§
§rules: Vec<SectionPattern>Implementations§
Source§impl SectionConfig
impl SectionConfig
pub fn textbook_default() -> Self
pub fn classify(&self, title: &str) -> SectionType
Trait Implementations§
Source§impl Clone for SectionConfig
impl Clone for SectionConfig
Source§fn clone(&self) -> SectionConfig
fn clone(&self) -> SectionConfig
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 SectionConfig
impl Debug for SectionConfig
Source§impl Default for SectionConfig
impl Default for SectionConfig
Source§impl<'de> Deserialize<'de> for SectionConfig
impl<'de> Deserialize<'de> for SectionConfig
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
Auto Trait Implementations§
impl Freeze for SectionConfig
impl RefUnwindSafe for SectionConfig
impl Send for SectionConfig
impl Sync for SectionConfig
impl Unpin for SectionConfig
impl UnsafeUnpin for SectionConfig
impl UnwindSafe for SectionConfig
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