pub struct UriDisplay<'a, T: AnyUriRef + ?Sized>(/* private fields */);
Expand description
Helper class to assist with using AnyUriRef
with formatters; instantiated by
AnyUriRef::display
.
This type is similar to std::path::Display
.
Trait Implementations§
Source§impl<'a, T: Clone + AnyUriRef + ?Sized> Clone for UriDisplay<'a, T>
impl<'a, T: Clone + AnyUriRef + ?Sized> Clone for UriDisplay<'a, T>
Source§fn clone(&self) -> UriDisplay<'a, T>
fn clone(&self) -> UriDisplay<'a, T>
Returns a copy 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 moreimpl<'a, T: Copy + AnyUriRef + ?Sized> Copy for UriDisplay<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for UriDisplay<'a, T>where
T: ?Sized,
impl<'a, T> RefUnwindSafe for UriDisplay<'a, T>where
T: RefUnwindSafe + ?Sized,
impl<'a, T> Send for UriDisplay<'a, T>
impl<'a, T> Sync for UriDisplay<'a, T>
impl<'a, T> Unpin for UriDisplay<'a, T>where
T: ?Sized,
impl<'a, T> UnwindSafe for UriDisplay<'a, T>where
T: RefUnwindSafe + ?Sized,
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