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