Enum StorybookStoryKind
pub enum StorybookStoryKind {
ComponentStory,
DocsStory,
MdxStory,
InteractionTest,
VisualTest,
}Expand description
Storybook story-kind labels.
Variants§
Implementations§
§impl StorybookStoryKind
impl StorybookStoryKind
Trait Implementations§
§impl Clone for StorybookStoryKind
impl Clone for StorybookStoryKind
§fn clone(&self) -> StorybookStoryKind
fn clone(&self) -> StorybookStoryKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for StorybookStoryKind
impl Debug for StorybookStoryKind
§impl Display for StorybookStoryKind
impl Display for StorybookStoryKind
§impl FromStr for StorybookStoryKind
impl FromStr for StorybookStoryKind
§type Err = StorybookNameError
type Err = StorybookNameError
The associated error which can be returned from parsing.
§fn from_str(
input: &str,
) -> Result<StorybookStoryKind, <StorybookStoryKind as FromStr>::Err>
fn from_str( input: &str, ) -> Result<StorybookStoryKind, <StorybookStoryKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for StorybookStoryKind
impl Hash for StorybookStoryKind
§impl Ord for StorybookStoryKind
impl Ord for StorybookStoryKind
§fn cmp(&self, other: &StorybookStoryKind) -> Ordering
fn cmp(&self, other: &StorybookStoryKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for StorybookStoryKind
impl PartialEq for StorybookStoryKind
§impl PartialOrd for StorybookStoryKind
impl PartialOrd for StorybookStoryKind
impl Copy for StorybookStoryKind
impl Eq for StorybookStoryKind
impl StructuralPartialEq for StorybookStoryKind
Auto Trait Implementations§
impl Freeze for StorybookStoryKind
impl RefUnwindSafe for StorybookStoryKind
impl Send for StorybookStoryKind
impl Sync for StorybookStoryKind
impl Unpin for StorybookStoryKind
impl UnsafeUnpin for StorybookStoryKind
impl UnwindSafe for StorybookStoryKind
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