pub struct RemixRoutePath(/* private fields */);Expand description
Validated Remix route path metadata.
Implementations§
Source§impl RemixRoutePath
impl RemixRoutePath
Sourcepub fn new(input: &str) -> Result<Self, RemixNameError>
pub fn new(input: &str) -> Result<Self, RemixNameError>
Creates Remix route path metadata.
§Errors
Returns RemixNameError when input is empty or contains control characters.
Trait Implementations§
Source§impl Clone for RemixRoutePath
impl Clone for RemixRoutePath
Source§fn clone(&self) -> RemixRoutePath
fn clone(&self) -> RemixRoutePath
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 moreSource§impl Debug for RemixRoutePath
impl Debug for RemixRoutePath
Source§impl Display for RemixRoutePath
impl Display for RemixRoutePath
Source§impl FromStr for RemixRoutePath
impl FromStr for RemixRoutePath
Source§impl Hash for RemixRoutePath
impl Hash for RemixRoutePath
Source§impl Ord for RemixRoutePath
impl Ord for RemixRoutePath
Source§fn cmp(&self, other: &RemixRoutePath) -> Ordering
fn cmp(&self, other: &RemixRoutePath) -> 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
Source§impl PartialEq for RemixRoutePath
impl PartialEq for RemixRoutePath
Source§impl PartialOrd for RemixRoutePath
impl PartialOrd for RemixRoutePath
Source§impl TryFrom<&str> for RemixRoutePath
impl TryFrom<&str> for RemixRoutePath
impl Eq for RemixRoutePath
impl StructuralPartialEq for RemixRoutePath
Auto Trait Implementations§
impl Freeze for RemixRoutePath
impl RefUnwindSafe for RemixRoutePath
impl Send for RemixRoutePath
impl Sync for RemixRoutePath
impl Unpin for RemixRoutePath
impl UnsafeUnpin for RemixRoutePath
impl UnwindSafe for RemixRoutePath
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