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