Struct kodept_core::structure::rlt::AbstractFunction
source · 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(original: AbstractFunction) -> Function
fn from(original: AbstractFunction) -> Function
Converts to this type from the input type.
source§impl PartialEq for AbstractFunction
impl PartialEq for AbstractFunction
source§fn eq(&self, other: &AbstractFunction) -> bool
fn eq(&self, other: &AbstractFunction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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