pub struct HelpFile { /* private fields */ }Expand description
HelpFile - Manages markdown help files
Modern alternative to Borland’s THelpFile
Implementations§
Source§impl HelpFile
impl HelpFile
Sourcepub fn from_content(content: &str) -> Self
pub fn from_content(content: &str) -> Self
Create a help file from an in-memory markdown string
Sourcepub fn get_default_topic(&self) -> Option<&HelpTopic>
pub fn get_default_topic(&self) -> Option<&HelpTopic>
Get the default topic
Sourcepub fn get_topic_ids(&self) -> Vec<String>
pub fn get_topic_ids(&self) -> Vec<String>
Get all topic IDs
Auto Trait Implementations§
impl Freeze for HelpFile
impl RefUnwindSafe for HelpFile
impl Send for HelpFile
impl Sync for HelpFile
impl Unpin for HelpFile
impl UnsafeUnpin for HelpFile
impl UnwindSafe for HelpFile
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