pub struct NthParamTyEqual<'t> {
pub at: Span,
pub nth: usize,
pub expect: &'t TypeDefine,
}
Fields§
§at: Span
§nth: usize
§expect: &'t TypeDefine
Implementations§
Source§impl<'t> NthParamTyEqual<'t>
impl<'t> NthParamTyEqual<'t>
pub fn new(nth: usize, expect: &'t TypeDefine, at: Span) -> Self
Trait Implementations§
Source§impl BranchFilter<Rc<FnSignWithName>> for NthParamTyEqual<'_>
impl BranchFilter<Rc<FnSignWithName>> for NthParamTyEqual<'_>
Auto Trait Implementations§
impl<'t> Freeze for NthParamTyEqual<'t>
impl<'t> RefUnwindSafe for NthParamTyEqual<'t>
impl<'t> Send for NthParamTyEqual<'t>
impl<'t> Sync for NthParamTyEqual<'t>
impl<'t> Unpin for NthParamTyEqual<'t>
impl<'t> UnwindSafe for NthParamTyEqual<'t>
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