pub struct CallableDoc {
pub name: String,
pub description: String,
pub example: String,
}Expand description
Documentation for a processor or command provided by a plugin.
Fields§
§name: StringFull name (e.g. “dice.roll” for processors, “set_var” for commands).
description: StringHuman-readable description.
example: StringUsage example in weaver-lang syntax.
Trait Implementations§
Source§impl Clone for CallableDoc
impl Clone for CallableDoc
Source§fn clone(&self) -> CallableDoc
fn clone(&self) -> CallableDoc
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 moreAuto Trait Implementations§
impl Freeze for CallableDoc
impl RefUnwindSafe for CallableDoc
impl Send for CallableDoc
impl Sync for CallableDoc
impl Unpin for CallableDoc
impl UnsafeUnpin for CallableDoc
impl UnwindSafe for CallableDoc
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