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