pub struct ParseStream(/* private fields */);Expand description
A parse stream represents a string that is to be parsed into an equation.
Implementations§
Source§impl ParseStream
impl ParseStream
Sourcepub fn new(stream: String) -> ParseStream
pub fn new(stream: String) -> ParseStream
Creates a new parse stream from a string.
Sourcepub fn parse_items(&self) -> Result<Vec<Item>, EquationError>
pub fn parse_items(&self) -> Result<Vec<Item>, EquationError>
Parses all items in the parse stream into a Vec<Item>.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParseStream
impl RefUnwindSafe for ParseStream
impl Send for ParseStream
impl Sync for ParseStream
impl Unpin for ParseStream
impl UnwindSafe for ParseStream
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