pub struct DeclHeaderExt {
pub name: String,
pub params: Vec<BinderExt>,
pub return_type: Option<String>,
}Expand description
A declaration header.
Fields§
§name: StringThe declaration name
params: Vec<BinderExt>The telescope of binders
return_type: Option<String>The return type
Implementations§
Trait Implementations§
Source§impl Clone for DeclHeaderExt
impl Clone for DeclHeaderExt
Source§fn clone(&self) -> DeclHeaderExt
fn clone(&self) -> DeclHeaderExt
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 moreAuto Trait Implementations§
impl Freeze for DeclHeaderExt
impl RefUnwindSafe for DeclHeaderExt
impl Send for DeclHeaderExt
impl Sync for DeclHeaderExt
impl Unpin for DeclHeaderExt
impl UnsafeUnpin for DeclHeaderExt
impl UnwindSafe for DeclHeaderExt
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