Struct chalk_parse::ast::FnDefn
source · pub struct FnDefn {
pub name: Identifier,
pub variable_kinds: Vec<VariableKind>,
pub where_clauses: Vec<QuantifiedWhereClause>,
pub argument_types: Vec<Ty>,
pub return_type: Ty,
pub sig: FnSig,
pub variances: Option<Vec<Variance>>,
}
Fields§
§name: Identifier
§variable_kinds: Vec<VariableKind>
§where_clauses: Vec<QuantifiedWhereClause>
§argument_types: Vec<Ty>
§return_type: Ty
§sig: FnSig
§variances: Option<Vec<Variance>>
Trait Implementations§
source§impl PartialEq for FnDefn
impl PartialEq for FnDefn
impl Eq for FnDefn
impl StructuralPartialEq for FnDefn
Auto Trait Implementations§
impl Freeze for FnDefn
impl RefUnwindSafe for FnDefn
impl Send for FnDefn
impl Sync for FnDefn
impl Unpin for FnDefn
impl UnwindSafe for FnDefn
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)