pub struct NextJsInterceptingRoutePattern(/* private fields */);Expand description
Validated Next.js intercepting route pattern metadata.
Implementations§
Source§impl NextJsInterceptingRoutePattern
impl NextJsInterceptingRoutePattern
Sourcepub fn new(input: &str) -> Result<Self, NextJsRouteError>
pub fn new(input: &str) -> Result<Self, NextJsRouteError>
Creates Next.js intercepting route pattern metadata.
§Errors
Returns NextJsRouteError when input is empty or is not ASCII-safe intercepting route text.
Trait Implementations§
Source§impl Clone for NextJsInterceptingRoutePattern
impl Clone for NextJsInterceptingRoutePattern
Source§fn clone(&self) -> NextJsInterceptingRoutePattern
fn clone(&self) -> NextJsInterceptingRoutePattern
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 Ord for NextJsInterceptingRoutePattern
impl Ord for NextJsInterceptingRoutePattern
Source§fn cmp(&self, other: &NextJsInterceptingRoutePattern) -> Ordering
fn cmp(&self, other: &NextJsInterceptingRoutePattern) -> 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 NextJsInterceptingRoutePattern
impl PartialEq for NextJsInterceptingRoutePattern
Source§fn eq(&self, other: &NextJsInterceptingRoutePattern) -> bool
fn eq(&self, other: &NextJsInterceptingRoutePattern) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for NextJsInterceptingRoutePattern
impl PartialOrd for NextJsInterceptingRoutePattern
Source§impl TryFrom<&str> for NextJsInterceptingRoutePattern
impl TryFrom<&str> for NextJsInterceptingRoutePattern
impl Eq for NextJsInterceptingRoutePattern
impl StructuralPartialEq for NextJsInterceptingRoutePattern
Auto Trait Implementations§
impl Freeze for NextJsInterceptingRoutePattern
impl RefUnwindSafe for NextJsInterceptingRoutePattern
impl Send for NextJsInterceptingRoutePattern
impl Sync for NextJsInterceptingRoutePattern
impl Unpin for NextJsInterceptingRoutePattern
impl UnsafeUnpin for NextJsInterceptingRoutePattern
impl UnwindSafe for NextJsInterceptingRoutePattern
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