pub struct FunctionInfo {
pub name: &'static str,
pub category: Category,
pub signature: &'static str,
pub description: &'static str,
}Expand description
A catalog entry.
Fields§
§name: &'static strThe name, as written in expressions.
category: CategoryThe group it belongs to.
signature: &'static strHow it is called, such as Round(value, digits).
description: &'static strWhat it does.
Trait Implementations§
Source§impl Clone for FunctionInfo
impl Clone for FunctionInfo
Source§fn clone(&self) -> FunctionInfo
fn clone(&self) -> FunctionInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FunctionInfo
Source§impl Debug for FunctionInfo
impl Debug for FunctionInfo
impl Eq for FunctionInfo
Source§impl PartialEq for FunctionInfo
impl PartialEq for FunctionInfo
impl StructuralPartialEq 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