pub enum NextJsRouterKind {
PagesRouter,
AppRouter,
}Expand description
Next.js router-kind labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for NextJsRouterKind
impl Clone for NextJsRouterKind
Source§fn clone(&self) -> NextJsRouterKind
fn clone(&self) -> NextJsRouterKind
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 NextJsRouterKind
impl Debug for NextJsRouterKind
Source§impl Display for NextJsRouterKind
impl Display for NextJsRouterKind
Source§impl FromStr for NextJsRouterKind
impl FromStr for NextJsRouterKind
Source§impl Hash for NextJsRouterKind
impl Hash for NextJsRouterKind
Source§impl Ord for NextJsRouterKind
impl Ord for NextJsRouterKind
Source§fn cmp(&self, other: &NextJsRouterKind) -> Ordering
fn cmp(&self, other: &NextJsRouterKind) -> 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 NextJsRouterKind
impl PartialEq for NextJsRouterKind
Source§fn eq(&self, other: &NextJsRouterKind) -> bool
fn eq(&self, other: &NextJsRouterKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§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