pub struct Call {
pub name: LitSym,
pub derivatives: u8,
pub args: Vec<Expr>,
pub span: Range<usize>,
pub paren_span: Range<usize>,
}Expand description
A function call, such as func(x, -40).
Fields§
§name: LitSymThe name of the function to call.
derivatives: u8The number of derivatives to take before calling the function.
args: Vec<Expr>The arguments to the function.
span: Range<usize>The region of the source code that this function call was parsed from.
paren_span: Range<usize>The span of the parentheses that surround the arguments.
Implementations§
Trait Implementations§
Source§impl Latex for Call
impl Latex for Call
Source§fn as_display(&self) -> LatexFormatter<'_, Self>
fn as_display(&self) -> LatexFormatter<'_, Self>
Wraps the value in a
LatexFormatter, which implements Display.Source§impl<'source> Parse<'source> for Call
impl<'source> Parse<'source> for Call
impl StructuralPartialEq for Call
Auto Trait Implementations§
impl Freeze for Call
impl RefUnwindSafe for Call
impl Send for Call
impl Sync for Call
impl Unpin for Call
impl UnwindSafe for Call
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