pub struct Function<'tree> {
pub span: Span,
pub arrow: Option<FunctionArrow>,
pub binds: Option<LocalBinds<'tree>>,
pub match: Vec<Match<'tree>>,
pub name: Option<FunctionName<'tree>>,
pub parameter: Option<FunctionParameter<'tree>>,
pub parens: Option<FunctionHeadParens<'tree>>,
pub patterns: Option<Patterns<'tree>>,
pub result: Option<QuantifiedType<'tree>>,
pub children: Option<Infix<'tree>>,
}Fields§
§span: Span§arrow: Option<FunctionArrow>§binds: Option<LocalBinds<'tree>>§match: Vec<Match<'tree>>§name: Option<FunctionName<'tree>>§parameter: Option<FunctionParameter<'tree>>§parens: Option<FunctionHeadParens<'tree>>§patterns: Option<Patterns<'tree>>§result: Option<QuantifiedType<'tree>>§children: Option<Infix<'tree>>Trait Implementations§
impl<'tree> Eq for Function<'tree>
impl<'tree> StructuralPartialEq for Function<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for Function<'tree>
impl<'tree> RefUnwindSafe for Function<'tree>
impl<'tree> Send for Function<'tree>
impl<'tree> Sync for Function<'tree>
impl<'tree> Unpin for Function<'tree>
impl<'tree> UnsafeUnpin for Function<'tree>
impl<'tree> UnwindSafe for Function<'tree>
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