pub struct AbstractFunction {
pub keyword: Keyword,
pub id: Identifier,
pub params: Option<Enclosed<Box<[TypedParameter]>>>,
pub return_type: Option<(Symbol, Type)>,
}
Fields§
§keyword: Keyword
§id: Identifier
§params: Option<Enclosed<Box<[TypedParameter]>>>
§return_type: Option<(Symbol, Type)>
Trait Implementations§
Source§impl Clone for AbstractFunction
impl Clone for AbstractFunction
Source§fn clone(&self) -> AbstractFunction
fn clone(&self) -> AbstractFunction
Returns a copy 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 moreSource§impl Debug for AbstractFunction
impl Debug for AbstractFunction
Source§impl From<AbstractFunction> for Function
impl From<AbstractFunction> for Function
Source§fn from(value: AbstractFunction) -> Self
fn from(value: AbstractFunction) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AbstractFunction
impl PartialEq for AbstractFunction
impl StructuralPartialEq for AbstractFunction
Auto Trait Implementations§
impl Freeze for AbstractFunction
impl RefUnwindSafe for AbstractFunction
impl Send for AbstractFunction
impl Sync for AbstractFunction
impl Unpin for AbstractFunction
impl UnwindSafe for AbstractFunction
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