Struct semantic_analyzer::types::Function
source · pub struct Function {
pub inner_name: FunctionName,
pub inner_type: Type,
pub parameters: Vec<Type>,
}
Expand description
Function
Function declaration analyze contains:
- function name
- function type
- parameters of functions (with types only)
It used to detect functions in state and their parameters to use in normal execution flog.
Fields§
§inner_name: FunctionName
§inner_type: Type
§parameters: Vec<Type>
Trait Implementations§
source§impl PartialEq<Function> for Function
impl PartialEq<Function> for Function
impl Eq for Function
impl StructuralEq for Function
impl StructuralPartialEq for Function
Auto Trait Implementations§
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnwindSafe for Function
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