Enum SvelteConfigFile
pub enum SvelteConfigFile {
SvelteConfigJs,
SvelteConfigTs,
}Expand description
Common Svelte config file labels.
Variants§
Implementations§
§impl SvelteConfigFile
impl SvelteConfigFile
Trait Implementations§
§impl Clone for SvelteConfigFile
impl Clone for SvelteConfigFile
§fn clone(&self) -> SvelteConfigFile
fn clone(&self) -> SvelteConfigFile
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 SvelteConfigFile
impl Debug for SvelteConfigFile
§impl Display for SvelteConfigFile
impl Display for SvelteConfigFile
§impl FromStr for SvelteConfigFile
impl FromStr for SvelteConfigFile
§type Err = SvelteNameError
type Err = SvelteNameError
The associated error which can be returned from parsing.
§fn from_str(
input: &str,
) -> Result<SvelteConfigFile, <SvelteConfigFile as FromStr>::Err>
fn from_str( input: &str, ) -> Result<SvelteConfigFile, <SvelteConfigFile as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for SvelteConfigFile
impl Hash for SvelteConfigFile
§impl Ord for SvelteConfigFile
impl Ord for SvelteConfigFile
§fn cmp(&self, other: &SvelteConfigFile) -> Ordering
fn cmp(&self, other: &SvelteConfigFile) -> Ordering
1.21.0 · 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
§impl PartialEq for SvelteConfigFile
impl PartialEq for SvelteConfigFile
§impl PartialOrd for SvelteConfigFile
impl PartialOrd for SvelteConfigFile
impl Copy for SvelteConfigFile
impl Eq for SvelteConfigFile
impl StructuralPartialEq for SvelteConfigFile
Auto Trait Implementations§
impl Freeze for SvelteConfigFile
impl RefUnwindSafe for SvelteConfigFile
impl Send for SvelteConfigFile
impl Sync for SvelteConfigFile
impl Unpin for SvelteConfigFile
impl UnsafeUnpin for SvelteConfigFile
impl UnwindSafe for SvelteConfigFile
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