pub struct GroupBuilder { /* private fields */ }
Implementations§
Source§impl GroupBuilder
impl GroupBuilder
pub fn new(span: Span, branches: Vec<BranchesBuilder>) -> GroupBuilder
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GroupBuilder
impl RefUnwindSafe for GroupBuilder
impl !Send for GroupBuilder
impl !Sync for GroupBuilder
impl Unpin for GroupBuilder
impl UnwindSafe for GroupBuilder
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
Source§impl<W> WithSpanExt for Wwhere
W: WithSpan,
impl<W> WithSpanExt for Wwhere
W: WithSpan,
Source§fn make_parse_error(
&self,
reason: impl ToString,
kind: ParseErrorKind,
) -> ParseError
fn make_parse_error( &self, reason: impl ToString, kind: ParseErrorKind, ) -> ParseError
make an
ParseError
at location with ordered ParseErrorKind
Source§fn unmatch<T>(&self, reason: impl ToString) -> Result<T, ParseError>
fn unmatch<T>(&self, reason: impl ToString) -> Result<T, ParseError>
make an Unmatched
ParseError
in Result
Source§fn throw<T>(&self, reason: impl ToString) -> Result<T, ParseError>
fn throw<T>(&self, reason: impl ToString) -> Result<T, ParseError>
make an Semantic
ParseError
in Result