pub struct Function {
pub is_async: bool,
pub docs: Docs,
pub name: String,
pub kind: FunctionKind,
pub params: Vec<(String, Type)>,
pub result: Type,
}
Fields§
§is_async: bool
§docs: Docs
§name: String
§kind: FunctionKind
§params: Vec<(String, Type)>
§result: Type
Implementations§
Trait Implementations§
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