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