pub struct SectionInfo {
pub id: String,
pub desc: Option<String>,
pub start_line: usize,
pub end_line: usize,
}Expand description
A discovered section marker with metadata (used by discover_sections and find_and_toggle_section).
Fields§
§id: String§desc: Option<String>§start_line: usize§end_line: usizeTrait Implementations§
Source§impl Clone for SectionInfo
impl Clone for SectionInfo
Source§fn clone(&self) -> SectionInfo
fn clone(&self) -> SectionInfo
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 SectionInfo
impl RefUnwindSafe for SectionInfo
impl Send for SectionInfo
impl Sync for SectionInfo
impl Unpin for SectionInfo
impl UnsafeUnpin for SectionInfo
impl UnwindSafe for SectionInfo
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