pub struct FunctionInfo {
pub name: &'static str,
pub signature: String,
pub params: &'static [&'static str],
pub category: Category,
pub summary: &'static str,
}Expand description
Public description of a built-in function.
Fields§
§name: &'static strThe name, without the leading $.
signature: StringThe signature, such as <s-nn?:s>.
params: &'static [&'static str]Parameter names.
category: CategoryThe group the function belongs to.
summary: &'static strOne-line description.
Trait Implementations§
Source§impl Clone for FunctionInfo
impl Clone for FunctionInfo
Source§impl Debug for FunctionInfo
impl Debug for FunctionInfo
Auto Trait Implementations§
impl Freeze for FunctionInfo
impl RefUnwindSafe for FunctionInfo
impl Send for FunctionInfo
impl Sync for FunctionInfo
impl Unpin for FunctionInfo
impl UnsafeUnpin for FunctionInfo
impl UnwindSafe for FunctionInfo
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