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