pub struct FunctionType<'tree> {
pub span: Span,
pub parameters: Parameters<'tree>,
pub return_type: Option<Type<'tree>>,
pub trait: Option<FunctionTypeTrait<'tree>>,
pub children: Vec<FunctionTypeChildren<'tree>>,
}Fields§
§span: Span§parameters: Parameters<'tree>§return_type: Option<Type<'tree>>§trait: Option<FunctionTypeTrait<'tree>>§children: Vec<FunctionTypeChildren<'tree>>Trait Implementations§
Source§impl<'tree> Clone for FunctionType<'tree>
impl<'tree> Clone for FunctionType<'tree>
Source§fn clone(&self) -> FunctionType<'tree>
fn clone(&self) -> FunctionType<'tree>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'tree> Debug for FunctionType<'tree>
impl<'tree> Debug for FunctionType<'tree>
Source§impl<'tree> FromNode<'tree> for FunctionType<'tree>
impl<'tree> FromNode<'tree> for FunctionType<'tree>
Source§impl<'tree> PartialEq for FunctionType<'tree>
impl<'tree> PartialEq for FunctionType<'tree>
Source§impl Spanned for FunctionType<'_>
impl Spanned for FunctionType<'_>
impl<'tree> Eq for FunctionType<'tree>
impl<'tree> StructuralPartialEq for FunctionType<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for FunctionType<'tree>
impl<'tree> RefUnwindSafe for FunctionType<'tree>
impl<'tree> Send for FunctionType<'tree>
impl<'tree> Sync for FunctionType<'tree>
impl<'tree> Unpin for FunctionType<'tree>
impl<'tree> UnsafeUnpin for FunctionType<'tree>
impl<'tree> UnwindSafe for FunctionType<'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