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