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