pub struct ToolInfo<'a> {
pub identifier: &'a str,
pub description: &'a str,
pub group: &'a str,
pub inputs: Vec<ValueType>,
}Expand description
Information needed for each macro.
Fields§
§identifier: &'a strText pattern that triggers this macro.
description: &'a strUser-facing information about how the macro works.
group: &'a strCategory used to sort macros in the shell.
inputs: Vec<ValueType>Trait Implementations§
source§impl<'a> PartialEq<ToolInfo<'a>> for ToolInfo<'a>
impl<'a> PartialEq<ToolInfo<'a>> for ToolInfo<'a>
impl<'a> StructuralPartialEq for ToolInfo<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ToolInfo<'a>
impl<'a> Send for ToolInfo<'a>
impl<'a> Sync for ToolInfo<'a>
impl<'a> Unpin for ToolInfo<'a>
impl<'a> UnwindSafe for ToolInfo<'a>
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