pub enum NextJsDirectoryKind {
App,
Pages,
Components,
Public,
Styles,
Lib,
Api,
Middleware,
}Expand description
Next.js directory labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for NextJsDirectoryKind
impl Clone for NextJsDirectoryKind
Source§fn clone(&self) -> NextJsDirectoryKind
fn clone(&self) -> NextJsDirectoryKind
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 NextJsDirectoryKind
impl Debug for NextJsDirectoryKind
Source§impl Display for NextJsDirectoryKind
impl Display for NextJsDirectoryKind
Source§impl FromStr for NextJsDirectoryKind
impl FromStr for NextJsDirectoryKind
Source§impl Hash for NextJsDirectoryKind
impl Hash for NextJsDirectoryKind
Source§impl Ord for NextJsDirectoryKind
impl Ord for NextJsDirectoryKind
Source§fn cmp(&self, other: &NextJsDirectoryKind) -> Ordering
fn cmp(&self, other: &NextJsDirectoryKind) -> 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 NextJsDirectoryKind
impl PartialEq for NextJsDirectoryKind
Source§fn eq(&self, other: &NextJsDirectoryKind) -> bool
fn eq(&self, other: &NextJsDirectoryKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§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