pub struct Parser {
pub skillset: Skillset,
/* private fields */
}
Fields§
§skillset: Skillset
Implementations§
Source§impl Parser
impl Parser
pub fn new<S: Into<String>>(file: S) -> Self
pub fn current(&self) -> &Option<String>
pub fn file(&self) -> &str
pub fn todo(&self) -> &Vec<String>
pub fn done(&self) -> &Vec<String>
pub fn files(&self) -> Vec<String>
pub fn add<S: Into<String>>(&mut self, file: S) -> bool
pub fn next(&mut self) -> Option<String>
pub fn parse(&mut self) -> Result<(), RlError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Parser
impl RefUnwindSafe for Parser
impl Send for Parser
impl Sync for Parser
impl Unpin for Parser
impl UnwindSafe for Parser
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