pub struct ShowcaseRegistry { /* private fields */ }Implementations§
Source§impl ShowcaseRegistry
impl ShowcaseRegistry
Sourcepub fn register(&mut self, entry: StoryEntry)
pub fn register(&mut self, entry: StoryEntry)
Registers one story entry with the in-memory registry.
Sourcepub fn manifest(&self) -> StoryManifest
pub fn manifest(&self) -> StoryManifest
Converts the registered stories into a serializable manifest.
Sourcepub fn story_count(&self) -> usize
pub fn story_count(&self) -> usize
Returns the number of registered stories.
Trait Implementations§
Source§impl Debug for ShowcaseRegistry
impl Debug for ShowcaseRegistry
Source§impl Default for ShowcaseRegistry
impl Default for ShowcaseRegistry
Source§fn default() -> ShowcaseRegistry
fn default() -> ShowcaseRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ShowcaseRegistry
impl RefUnwindSafe for ShowcaseRegistry
impl Send for ShowcaseRegistry
impl Sync for ShowcaseRegistry
impl Unpin for ShowcaseRegistry
impl UnsafeUnpin for ShowcaseRegistry
impl UnwindSafe for ShowcaseRegistry
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