pub struct TypeAlternativeClauseParser { /* private fields */ }
Implementations§
Source§impl TypeAlternativeClauseParser
impl TypeAlternativeClauseParser
pub fn new() -> TypeAlternativeClauseParser
pub fn parse<'err, 'input, __TOKEN: __ToTriple<'err, 'input>, __TOKENS: IntoIterator<Item = __TOKEN>>( &self, errors: &'err mut Vec<ParseError>, __tokens0: __TOKENS, ) -> Result<WithMetaData<NodeTypeAlternativeClause>, ParseError<SourcePosition, Token<&'input str>, ParseError>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TypeAlternativeClauseParser
impl RefUnwindSafe for TypeAlternativeClauseParser
impl Send for TypeAlternativeClauseParser
impl Sync for TypeAlternativeClauseParser
impl Unpin for TypeAlternativeClauseParser
impl UnwindSafe for TypeAlternativeClauseParser
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