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