pub struct FnCall {
pub fn_name: Ident,
pub args: FnCallArgs,
/* private fields */
}
Fields§
§fn_name: Ident
§args: FnCallArgs
Trait Implementations§
Source§impl From<FnCall> for AtomicExpr
impl From<FnCall> for AtomicExpr
Source§fn from(v: FnCall) -> AtomicExpr
fn from(v: FnCall) -> AtomicExpr
Converts to this type from the input type.
Source§impl ParseUnit<Token> for FnCall
impl ParseUnit<Token> for FnCall
Source§fn parse(p: &mut Parser<Token>) -> ParseResult<Self, Token>
fn parse(p: &mut Parser<Token>) -> ParseResult<Self, Token>
you should not call
ParseUnit::parse
directly, using methods like Parser::once
insteadAuto Trait Implementations§
impl Freeze for FnCall
impl RefUnwindSafe for FnCall
impl Send for FnCall
impl Sync for FnCall
impl Unpin for FnCall
impl UnwindSafe for FnCall
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§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