pub enum StorybookAddonKind {
Essentials,
Interactions,
Links,
A11y,
Coverage,
Docs,
Themes,
Viewport,
}Expand description
Storybook addon labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for StorybookAddonKind
impl Clone for StorybookAddonKind
Source§fn clone(&self) -> StorybookAddonKind
fn clone(&self) -> StorybookAddonKind
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 moreSource§impl Debug for StorybookAddonKind
impl Debug for StorybookAddonKind
Source§impl Display for StorybookAddonKind
impl Display for StorybookAddonKind
Source§impl FromStr for StorybookAddonKind
impl FromStr for StorybookAddonKind
Source§type Err = StorybookNameError
type Err = StorybookNameError
The associated error which can be returned from parsing.
Source§fn from_str(
input: &str,
) -> Result<StorybookAddonKind, <StorybookAddonKind as FromStr>::Err>
fn from_str( input: &str, ) -> Result<StorybookAddonKind, <StorybookAddonKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for StorybookAddonKind
impl Hash for StorybookAddonKind
Source§impl Ord for StorybookAddonKind
impl Ord for StorybookAddonKind
Source§fn cmp(&self, other: &StorybookAddonKind) -> Ordering
fn cmp(&self, other: &StorybookAddonKind) -> Ordering
1.21.0 (const: unstable) · 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
Source§impl PartialEq for StorybookAddonKind
impl PartialEq for StorybookAddonKind
Source§fn eq(&self, other: &StorybookAddonKind) -> bool
fn eq(&self, other: &StorybookAddonKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for StorybookAddonKind
impl PartialOrd for StorybookAddonKind
impl Copy for StorybookAddonKind
impl Eq for StorybookAddonKind
impl StructuralPartialEq for StorybookAddonKind
Auto Trait Implementations§
impl Freeze for StorybookAddonKind
impl RefUnwindSafe for StorybookAddonKind
impl Send for StorybookAddonKind
impl Sync for StorybookAddonKind
impl Unpin for StorybookAddonKind
impl UnsafeUnpin for StorybookAddonKind
impl UnwindSafe for StorybookAddonKind
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