pub struct Topic {
pub name: &'static str,
pub summary: &'static str,
pub body: &'static str,
}Expand description
A unit of embedded end-user documentation. See CONTEXT.md (“Topic”).
Fields§
§name: &'static strThe short name used as dsp docs <name>.
summary: &'static strOne-line description shown in the topic list.
body: &'static strThe full markdown body, embedded at compile time.
Auto Trait Implementations§
impl Freeze for Topic
impl RefUnwindSafe for Topic
impl Send for Topic
impl Sync for Topic
impl Unpin for Topic
impl UnsafeUnpin for Topic
impl UnwindSafe for Topic
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