pub struct Function<'ast> {
pub identifier: Identifier<'ast>,
pub parameters: Vec<Input<'ast>>,
pub returns: Option<Type<'ast>>,
pub block: Block<'ast>,
pub span: Span<'ast>,
}Fields§
§identifier: Identifier<'ast>§parameters: Vec<Input<'ast>>§returns: Option<Type<'ast>>§block: Block<'ast>§span: Span<'ast>Trait Implementations§
impl<'ast> StructuralPartialEq for Function<'ast>
Auto Trait Implementations§
impl<'ast> Freeze for Function<'ast>
impl<'ast> RefUnwindSafe for Function<'ast>
impl<'ast> Send for Function<'ast>
impl<'ast> Sync for Function<'ast>
impl<'ast> Unpin for Function<'ast>
impl<'ast> UnwindSafe for Function<'ast>
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