pub enum SvelteFileKind {
Component,
Page,
Layout,
Error,
Server,
Config,
}Expand description
Svelte file-kind labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SvelteFileKind
impl Clone for SvelteFileKind
Source§fn clone(&self) -> SvelteFileKind
fn clone(&self) -> SvelteFileKind
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 SvelteFileKind
impl Debug for SvelteFileKind
Source§impl Display for SvelteFileKind
impl Display for SvelteFileKind
Source§impl FromStr for SvelteFileKind
impl FromStr for SvelteFileKind
Source§impl Hash for SvelteFileKind
impl Hash for SvelteFileKind
Source§impl Ord for SvelteFileKind
impl Ord for SvelteFileKind
Source§fn cmp(&self, other: &SvelteFileKind) -> Ordering
fn cmp(&self, other: &SvelteFileKind) -> 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 SvelteFileKind
impl PartialEq for SvelteFileKind
Source§fn eq(&self, other: &SvelteFileKind) -> bool
fn eq(&self, other: &SvelteFileKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SvelteFileKind
impl PartialOrd for SvelteFileKind
impl Copy for SvelteFileKind
impl Eq for SvelteFileKind
impl StructuralPartialEq for SvelteFileKind
Auto Trait Implementations§
impl Freeze for SvelteFileKind
impl RefUnwindSafe for SvelteFileKind
impl Send for SvelteFileKind
impl Sync for SvelteFileKind
impl Unpin for SvelteFileKind
impl UnsafeUnpin for SvelteFileKind
impl UnwindSafe for SvelteFileKind
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