Enum NextJsDirectoryKind
pub enum NextJsDirectoryKind {
App,
Pages,
Components,
Public,
Styles,
Lib,
Api,
Middleware,
}Expand description
Next.js directory labels.
Variants§
Implementations§
§impl NextJsDirectoryKind
impl NextJsDirectoryKind
Trait Implementations§
§impl Clone for NextJsDirectoryKind
impl Clone for NextJsDirectoryKind
§fn clone(&self) -> NextJsDirectoryKind
fn clone(&self) -> NextJsDirectoryKind
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 NextJsDirectoryKind
impl Debug for NextJsDirectoryKind
§impl Display for NextJsDirectoryKind
impl Display for NextJsDirectoryKind
§impl FromStr for NextJsDirectoryKind
impl FromStr for NextJsDirectoryKind
§type Err = NextJsRouteError
type Err = NextJsRouteError
The associated error which can be returned from parsing.
§fn from_str(
input: &str,
) -> Result<NextJsDirectoryKind, <NextJsDirectoryKind as FromStr>::Err>
fn from_str( input: &str, ) -> Result<NextJsDirectoryKind, <NextJsDirectoryKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for NextJsDirectoryKind
impl Hash for NextJsDirectoryKind
§impl Ord for NextJsDirectoryKind
impl Ord for NextJsDirectoryKind
§fn cmp(&self, other: &NextJsDirectoryKind) -> Ordering
fn cmp(&self, other: &NextJsDirectoryKind) -> 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 NextJsDirectoryKind
impl PartialEq for NextJsDirectoryKind
§impl PartialOrd for NextJsDirectoryKind
impl PartialOrd for NextJsDirectoryKind
impl Copy for NextJsDirectoryKind
impl Eq for NextJsDirectoryKind
impl StructuralPartialEq for NextJsDirectoryKind
Auto Trait Implementations§
impl Freeze for NextJsDirectoryKind
impl RefUnwindSafe for NextJsDirectoryKind
impl Send for NextJsDirectoryKind
impl Sync for NextJsDirectoryKind
impl Unpin for NextJsDirectoryKind
impl UnsafeUnpin for NextJsDirectoryKind
impl UnwindSafe for NextJsDirectoryKind
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