pub struct DelinkFile {
pub name: String,
pub sections: Sections,
pub complete: bool,
pub gap: bool,
}Fields§
§name: String§sections: Sections§complete: bool§gap: boolImplementations§
Source§impl DelinkFile
impl DelinkFile
pub fn new(name: String, sections: Sections, complete: bool) -> Self
pub fn parse( first_line: &str, lines: &mut Lines<BufReader<File>>, context: &mut ParseContext, inherit_sections: &Sections, ) -> Result<Self, DelinkFileParseError>
pub fn split_file_ext(&self) -> (&str, &str)
pub fn gap(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DelinkFile
impl RefUnwindSafe for DelinkFile
impl Send for DelinkFile
impl Sync for DelinkFile
impl Unpin for DelinkFile
impl UnwindSafe for DelinkFile
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