Struct arithmetic_parser::grammars::Typed
source · pub struct Typed<T>(/* private fields */);
Expand description
Trait Implementations§
source§impl<T: Grammar> Parse for Typed<T>
impl<T: Grammar> Parse for Typed<T>
source§fn parse_statements<'a, I>(input: I) -> Result<Block<'a, Self::Base>, Error>where
I: IntoInputSpan<'a>,
Self: Sized,
fn parse_statements<'a, I>(input: I) -> Result<Block<'a, Self::Base>, Error>where
I: IntoInputSpan<'a>,
Self: Sized,
Parses a list of statements.
source§fn parse_streaming_statements<'a, I>(
input: I,
) -> Result<Block<'a, Self::Base>, Error>where
I: IntoInputSpan<'a>,
Self: Sized,
fn parse_streaming_statements<'a, I>(
input: I,
) -> Result<Block<'a, Self::Base>, Error>where
I: IntoInputSpan<'a>,
Self: Sized,
Parses a potentially incomplete list of statements.
Auto Trait Implementations§
impl<T> Freeze for Typed<T>
impl<T> RefUnwindSafe for Typed<T>where
T: RefUnwindSafe,
impl<T> Send for Typed<T>where
T: Send,
impl<T> Sync for Typed<T>where
T: Sync,
impl<T> Unpin for Typed<T>where
T: Unpin,
impl<T> UnwindSafe for Typed<T>where
T: UnwindSafe,
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