Enum SvelteFileKind
pub enum SvelteFileKind {
Component,
Page,
Layout,
Error,
Server,
Config,
}Expand description
Svelte file-kind labels.
Variants§
Implementations§
§impl SvelteFileKind
impl SvelteFileKind
Trait Implementations§
§impl Clone for SvelteFileKind
impl Clone for SvelteFileKind
§fn clone(&self) -> SvelteFileKind
fn clone(&self) -> SvelteFileKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for SvelteFileKind
impl Debug for SvelteFileKind
§impl Display for SvelteFileKind
impl Display for SvelteFileKind
§impl FromStr for SvelteFileKind
impl FromStr for SvelteFileKind
§type Err = SvelteNameError
type Err = SvelteNameError
The associated error which can be returned from parsing.
§fn from_str(
input: &str,
) -> Result<SvelteFileKind, <SvelteFileKind as FromStr>::Err>
fn from_str( input: &str, ) -> Result<SvelteFileKind, <SvelteFileKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for SvelteFileKind
impl Hash for SvelteFileKind
§impl Ord for SvelteFileKind
impl Ord for SvelteFileKind
§impl PartialEq for SvelteFileKind
impl PartialEq for SvelteFileKind
§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