pub struct Skill {
pub name: String,
pub text: &'static str,
}Expand description
One embedded skill: its directory name and its SKILL.md text.
Fields§
§name: StringThe directory name, which is also the skill’s name frontmatter.
text: &'static strThe authored SKILL.md, byte-identical to the file under skills/.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Skill
impl RefUnwindSafe for Skill
impl Send for Skill
impl Sync for Skill
impl Unpin for Skill
impl UnsafeUnpin for Skill
impl UnwindSafe for Skill
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