pub struct SkillSection {
pub name: String,
pub content: String,
}Expand description
A named section within a skill’s body, delimited by ## Section Name.
Fields§
§name: StringSection name (the text after ## , trimmed).
content: StringContent of the section (everything between this heading and the next heading of the same or higher level, trimmed).
Trait Implementations§
Source§impl Clone for SkillSection
impl Clone for SkillSection
Source§fn clone(&self) -> SkillSection
fn clone(&self) -> SkillSection
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 SkillSection
impl RefUnwindSafe for SkillSection
impl Send for SkillSection
impl Sync for SkillSection
impl Unpin for SkillSection
impl UnsafeUnpin for SkillSection
impl UnwindSafe for SkillSection
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