pub struct Function<'a> {
pub name: Cow<'a, str>,
pub arguments: Vec<ComponentValue<'a>>,
pub span: Span,
}Expand description
name( … ).
Fields§
§name: Cow<'a, str>§arguments: Vec<ComponentValue<'a>>§span: SpanFrom the name to the ), or to the end of the input if it’s missing.
Trait Implementations§
impl<'a> StructuralPartialEq for Function<'a>
Auto Trait Implementations§
impl<'a> Forget for Function<'a>
impl<'a> Freeze for Function<'a>
impl<'a> Move for Function<'a>
impl<'a> RefUnwindSafe for Function<'a>
impl<'a> Send for Function<'a>
impl<'a> Sync for Function<'a>
impl<'a> Unpin for Function<'a>
impl<'a> UnsafeUnpin for Function<'a>
impl<'a> UnwindSafe for Function<'a>
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