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