pub struct RouteParams<'a, 'r>(/* private fields */);
Implementations§
Source§impl<'a, 'r> RouteParams<'a, 'r>
impl<'a, 'r> RouteParams<'a, 'r>
pub fn new() -> Self
pub fn clear(&mut self)
pub fn get(&self, key: &str) -> Option<&'r str>
pub fn insert(&mut self, key: &'a str, val: &'r str)
pub fn iter(&self) -> impl Iterator<Item = (&'a str, &'r str)> + '_
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
Trait Implementations§
Source§impl<'a, 'r> Clone for RouteParams<'a, 'r>
impl<'a, 'r> Clone for RouteParams<'a, 'r>
Source§fn clone(&self) -> RouteParams<'a, 'r>
fn clone(&self) -> RouteParams<'a, 'r>
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<'a, 'r> Debug for RouteParams<'a, 'r>
impl<'a, 'r> Debug for RouteParams<'a, 'r>
Source§impl<'a, 'r> Default for RouteParams<'a, 'r>
impl<'a, 'r> Default for RouteParams<'a, 'r>
Source§fn default() -> RouteParams<'a, 'r>
fn default() -> RouteParams<'a, 'r>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a, 'r> Freeze for RouteParams<'a, 'r>
impl<'a, 'r> RefUnwindSafe for RouteParams<'a, 'r>
impl<'a, 'r> Send for RouteParams<'a, 'r>
impl<'a, 'r> Sync for RouteParams<'a, 'r>
impl<'a, 'r> Unpin for RouteParams<'a, 'r>
impl<'a, 'r> UnwindSafe for RouteParams<'a, 'r>
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