[−][src]Struct onenote_parser::Parser
The OneNote file parser.
Implementations
impl Parser[src]
pub fn new() -> Parser[src]
Create a new OneNote file parser.
pub fn parse_notebook(&mut self, path: &Path) -> Result<Notebook>[src]
Parse a OneNote notebook.
The path argument must point to a .onetoc2 file. This will parse the
table of contents of the notebook as well as all contained
sections from the folder that the table of contents file is in.
pub fn parse_section(&mut self, path: &Path) -> Result<Section>[src]
Parse a OneNote section file.
The path argument must point to a .one file that contains a
OneNote section.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Parser
impl Send for Parser
impl Sync for Parser
impl Unpin for Parser
impl UnwindSafe for Parser
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,