Enum NextJsRouteKind
pub enum NextJsRouteKind {
Page,
ApiRoute,
RouteHandler,
Middleware,
}Expand description
Next.js route-kind labels.
Variants§
Implementations§
§impl NextJsRouteKind
impl NextJsRouteKind
Trait Implementations§
§impl Clone for NextJsRouteKind
impl Clone for NextJsRouteKind
§fn clone(&self) -> NextJsRouteKind
fn clone(&self) -> NextJsRouteKind
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 NextJsRouteKind
impl Debug for NextJsRouteKind
§impl Display for NextJsRouteKind
impl Display for NextJsRouteKind
§impl FromStr for NextJsRouteKind
impl FromStr for NextJsRouteKind
§type Err = NextJsRouteError
type Err = NextJsRouteError
The associated error which can be returned from parsing.
§fn from_str(
input: &str,
) -> Result<NextJsRouteKind, <NextJsRouteKind as FromStr>::Err>
fn from_str( input: &str, ) -> Result<NextJsRouteKind, <NextJsRouteKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for NextJsRouteKind
impl Hash for NextJsRouteKind
§impl Ord for NextJsRouteKind
impl Ord for NextJsRouteKind
§impl PartialEq for NextJsRouteKind
impl PartialEq for NextJsRouteKind
§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