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