Enum AstroConfigFile
pub enum AstroConfigFile {
AstroConfigJs,
AstroConfigMjs,
AstroConfigTs,
AstroConfigMts,
}Expand description
Common Astro config file labels.
Variants§
Implementations§
§impl AstroConfigFile
impl AstroConfigFile
Trait Implementations§
§impl Clone for AstroConfigFile
impl Clone for AstroConfigFile
§fn clone(&self) -> AstroConfigFile
fn clone(&self) -> AstroConfigFile
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 AstroConfigFile
impl Debug for AstroConfigFile
§impl Display for AstroConfigFile
impl Display for AstroConfigFile
§impl FromStr for AstroConfigFile
impl FromStr for AstroConfigFile
§type Err = AstroTextError
type Err = AstroTextError
The associated error which can be returned from parsing.
§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 more§impl Hash for AstroConfigFile
impl Hash for AstroConfigFile
§impl Ord for AstroConfigFile
impl Ord for AstroConfigFile
§impl PartialEq for AstroConfigFile
impl PartialEq for AstroConfigFile
§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