pub struct Btor2Parser { /* private fields */ }Implementations§
Source§impl Btor2Parser
impl Btor2Parser
pub fn new() -> Self
Sourcepub fn read_lines<P>(
&mut self,
file: P,
) -> Result<Btor2LineIterator<'_>, Btor2ParserError>
pub fn read_lines<P>( &mut self, file: P, ) -> Result<Btor2LineIterator<'_>, Btor2ParserError>
Parses a Btor2 file and returns an iterator to all every formatted line on success. On failure, the error includes the line number, where the error occured.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Btor2Parser
impl RefUnwindSafe for Btor2Parser
impl !Send for Btor2Parser
impl !Sync for Btor2Parser
impl Unpin for Btor2Parser
impl UnwindSafe for Btor2Parser
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