pub struct FuncDecl<'a> {
pub name: &'a str,
pub params: &'a [Param<'a>],
pub signature: TermId,
}Expand description
A function declaration.
Fields§
§name: &'a strThe name of the function to be declared.
params: &'a [Param<'a>]The static parameters of the function.
signature: TermIdThe signature of the function.
Trait Implementations§
impl<'a> Copy for FuncDecl<'a>
impl<'a> Eq for FuncDecl<'a>
impl<'a> StructuralPartialEq for FuncDecl<'a>
Auto Trait Implementations§
impl<'a> Freeze for FuncDecl<'a>
impl<'a> RefUnwindSafe for FuncDecl<'a>
impl<'a> Send for FuncDecl<'a>
impl<'a> Sync for FuncDecl<'a>
impl<'a> Unpin for FuncDecl<'a>
impl<'a> UnwindSafe for FuncDecl<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)