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