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