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: FunctionNameInner function name
inner_type: TypeInner (return) type
parameters: Vec<Type>Function parameters types
Trait Implementations§
impl Eq for Function
impl StructuralPartialEq for Function
Auto Trait Implementations§
impl Freeze for Function
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
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)