pub enum NextJsFileKind {
Page,
Layout,
Loading,
Error,
NotFound,
Route,
Middleware,
Config,
Metadata,
}Expand description
Next.js file-kind labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for NextJsFileKind
impl Clone for NextJsFileKind
Source§fn clone(&self) -> NextJsFileKind
fn clone(&self) -> NextJsFileKind
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 NextJsFileKind
impl Debug for NextJsFileKind
Source§impl Display for NextJsFileKind
impl Display for NextJsFileKind
Source§impl FromStr for NextJsFileKind
impl FromStr for NextJsFileKind
Source§impl Hash for NextJsFileKind
impl Hash for NextJsFileKind
Source§impl Ord for NextJsFileKind
impl Ord for NextJsFileKind
Source§fn cmp(&self, other: &NextJsFileKind) -> Ordering
fn cmp(&self, other: &NextJsFileKind) -> 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 NextJsFileKind
impl PartialEq for NextJsFileKind
Source§fn eq(&self, other: &NextJsFileKind) -> bool
fn eq(&self, other: &NextJsFileKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for NextJsFileKind
impl PartialOrd for NextJsFileKind
impl Copy for NextJsFileKind
impl Eq for NextJsFileKind
impl StructuralPartialEq for NextJsFileKind
Auto Trait Implementations§
impl Freeze for NextJsFileKind
impl RefUnwindSafe for NextJsFileKind
impl Send for NextJsFileKind
impl Sync for NextJsFileKind
impl Unpin for NextJsFileKind
impl UnsafeUnpin for NextJsFileKind
impl UnwindSafe for NextJsFileKind
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