Struct edlang_ast::FnParam
source · pub struct FnParam {
pub name: Ident,
pub arg_type: Type,
pub span: Span,
}
Fields§
§name: Ident
§arg_type: Type
§span: Span
Trait Implementations§
source§impl Ord for FnParam
impl Ord for FnParam
source§impl PartialEq for FnParam
impl PartialEq for FnParam
source§impl PartialOrd for FnParam
impl PartialOrd for FnParam
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for FnParam
impl StructuralPartialEq for FnParam
Auto Trait Implementations§
impl RefUnwindSafe for FnParam
impl Send for FnParam
impl Sync for FnParam
impl Unpin for FnParam
impl UnwindSafe for FnParam
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