pub struct BugStep {
pub skill: &'static str,
pub arguments: fn(&Triad, &str) -> String,
pub rules: &'static Rules,
}Expand description
How a format’s own bug step is run: the hosted skill, its arguments and what it may write.
Fields§
§skill: &'static strThe installed skill that creates a bug.
arguments: fn(&Triad, &str) -> StringIts arguments: the person’s labelled triad and the slug.
rules: &'static RulesThe policy’s rules while it runs: it writes only the bug directory.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BugStep
impl RefUnwindSafe for BugStep
impl Send for BugStep
impl Sync for BugStep
impl Unpin for BugStep
impl UnsafeUnpin for BugStep
impl UnwindSafe for BugStep
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