pub struct FunDecl {
pub name: String,
pub params: Vec<AstBox>,
pub ret: Option<AstBox>,
}Expand description
Function declaration.
Fields§
§name: String§params: Vec<AstBox>§ret: Option<AstBox>Implementations§
Trait Implementations§
impl StructuralPartialEq for FunDecl
Auto Trait Implementations§
impl Freeze for FunDecl
impl RefUnwindSafe for FunDecl
impl Send for FunDecl
impl Sync for FunDecl
impl Unpin for FunDecl
impl UnsafeUnpin for FunDecl
impl UnwindSafe for FunDecl
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