pub enum RouteSegmentKind {
Static,
Dynamic,
Wildcard,
Optional,
}Expand description
Route segment kind labels.
Variants§
Static
A stable label variant.
Dynamic
A stable label variant.
Wildcard
A stable label variant.
Optional
A stable label variant.
Implementations§
Trait Implementations§
Source§impl Clone for RouteSegmentKind
impl Clone for RouteSegmentKind
Source§fn clone(&self) -> RouteSegmentKind
fn clone(&self) -> RouteSegmentKind
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 RouteSegmentKind
impl Debug for RouteSegmentKind
Source§impl Default for RouteSegmentKind
impl Default for RouteSegmentKind
Source§impl Display for RouteSegmentKind
impl Display for RouteSegmentKind
Source§impl FromStr for RouteSegmentKind
impl FromStr for RouteSegmentKind
Source§impl Hash for RouteSegmentKind
impl Hash for RouteSegmentKind
Source§impl Ord for RouteSegmentKind
impl Ord for RouteSegmentKind
Source§fn cmp(&self, other: &RouteSegmentKind) -> Ordering
fn cmp(&self, other: &RouteSegmentKind) -> 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 RouteSegmentKind
impl PartialEq for RouteSegmentKind
Source§impl PartialOrd for RouteSegmentKind
impl PartialOrd for RouteSegmentKind
impl Copy for RouteSegmentKind
impl Eq for RouteSegmentKind
impl StructuralPartialEq for RouteSegmentKind
Auto Trait Implementations§
impl Freeze for RouteSegmentKind
impl RefUnwindSafe for RouteSegmentKind
impl Send for RouteSegmentKind
impl Sync for RouteSegmentKind
impl Unpin for RouteSegmentKind
impl UnsafeUnpin for RouteSegmentKind
impl UnwindSafe for RouteSegmentKind
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