pub struct Delinks {
pub sections: Sections,
pub files: Vec<DelinkFile>,
/* private fields */
}Fields§
§sections: Sections§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>>( path: P, sections: &Sections, ) -> Result<(), DelinksWriteError>
pub fn display(&self) -> DisplayDelinks<'_>
pub fn module_kind(&self) -> ModuleKind
Auto Trait Implementations§
impl Freeze for Delinks
impl RefUnwindSafe for Delinks
impl Send for Delinks
impl Sync for Delinks
impl Unpin 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