pub struct Function {
pub kind: Option<FunctionKind>,
pub arg_type: Vec<Option<TypeId>>,
pub ret_type: Option<TypeId>,
}Expand description
Function mata information.
Fields§
§kind: Option<FunctionKind>§arg_type: Vec<Option<TypeId>>§ret_type: Option<TypeId>Implementations§
Source§impl Function
impl Function
pub fn rust_fn_index(&self) -> Option<RustFnIndex>
pub fn is_resolved(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Function
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnsafeUnpin 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