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