pub struct FunctionDeclaration {
pub name: Node,
pub params: Vec<Parameter>,
pub self_parameter: Option<SelfParameter>,
pub return_type: Option<Type>,
}
Fields§
§name: Node
§params: Vec<Parameter>
§self_parameter: Option<SelfParameter>
§return_type: Option<Type>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FunctionDeclaration
impl RefUnwindSafe for FunctionDeclaration
impl Send for FunctionDeclaration
impl Sync for FunctionDeclaration
impl Unpin for FunctionDeclaration
impl UnwindSafe for FunctionDeclaration
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