pub struct LaravelRouteName(/* private fields */);Implementations§
Source§impl LaravelRouteName
impl LaravelRouteName
pub fn new(input: &str) -> Result<LaravelRouteName, LaravelError>
pub fn as_str(&self) -> &str
Trait Implementations§
Source§impl Clone for LaravelRouteName
impl Clone for LaravelRouteName
Source§fn clone(&self) -> LaravelRouteName
fn clone(&self) -> LaravelRouteName
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 LaravelRouteName
impl Debug for LaravelRouteName
Source§impl Display for LaravelRouteName
impl Display for LaravelRouteName
Source§impl FromStr for LaravelRouteName
impl FromStr for LaravelRouteName
Source§type Err = LaravelError
type Err = LaravelError
The associated error which can be returned from parsing.
Source§fn from_str(
input: &str,
) -> Result<LaravelRouteName, <LaravelRouteName as FromStr>::Err>
fn from_str( input: &str, ) -> Result<LaravelRouteName, <LaravelRouteName as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for LaravelRouteName
impl Hash for LaravelRouteName
Source§impl Ord for LaravelRouteName
impl Ord for LaravelRouteName
Source§fn cmp(&self, other: &LaravelRouteName) -> Ordering
fn cmp(&self, other: &LaravelRouteName) -> 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 LaravelRouteName
impl PartialEq for LaravelRouteName
Source§fn eq(&self, other: &LaravelRouteName) -> bool
fn eq(&self, other: &LaravelRouteName) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for LaravelRouteName
impl PartialOrd for LaravelRouteName
impl Eq for LaravelRouteName
impl StructuralPartialEq for LaravelRouteName
Auto Trait Implementations§
impl Freeze for LaravelRouteName
impl RefUnwindSafe for LaravelRouteName
impl Send for LaravelRouteName
impl Sync for LaravelRouteName
impl Unpin for LaravelRouteName
impl UnsafeUnpin for LaravelRouteName
impl UnwindSafe for LaravelRouteName
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