pub struct Function {
pub name: &'static str,
pub kind: FunctionKind,
pub params: &'static [Param],
pub value: Option<BoundType>,
pub summary: &'static str,
}Expand description
A built-in function such as download, called from functions and button actions.
Fields§
§name: &'static str§kind: FunctionKind§params: &'static [Param]§value: Option<BoundType>The type of the value a call gives; None for functions called for what they do.
summary: &'static strTrait 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