pub struct Delinks {
pub sections: Sections,
pub global_categories: Categories,
pub files: Vec<DelinkFile>,
/* private fields */
}Fields§
§sections: Sections§global_categories: Categories§files: Vec<DelinkFile>Implementations§
Source§impl Delinks
impl Delinks
pub fn new( sections: Sections, files: Vec<DelinkFile>, module_kind: ModuleKind, ) -> Self
pub fn from_file<P: AsRef<Path>>( path: P, module_kind: ModuleKind, ) -> Result<Self, DelinksParseError>
pub fn to_file<P: AsRef<Path>>(&self, path: P) -> Result<(), DelinksWriteError>
pub fn module_kind(&self) -> ModuleKind
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Delinks
impl RefUnwindSafe for Delinks
impl Send for Delinks
impl Sync for Delinks
impl Unpin for Delinks
impl UnsafeUnpin for Delinks
impl UnwindSafe for Delinks
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