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