Struct safe_uri_extra::UriRefAdapter
source · [−]pub struct UriRefAdapter(pub UriRef);
Expand description
An UriRef
adapter, which implements extra traits and functionality.
Tuple Fields
0: UriRef
Trait Implementations
sourceimpl Clone for UriRefAdapter
impl Clone for UriRefAdapter
sourcefn clone(&self) -> UriRefAdapter
fn clone(&self) -> UriRefAdapter
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UriRefAdapter
impl Debug for UriRefAdapter
sourceimpl Display for UriRefAdapter
impl Display for UriRefAdapter
sourceimpl Hash for UriRefAdapter
impl Hash for UriRefAdapter
sourceimpl PartialEq<UriRefAdapter> for UriRefAdapter
impl PartialEq<UriRefAdapter> for UriRefAdapter
sourcefn eq(&self, other: &UriRefAdapter) -> bool
fn eq(&self, other: &UriRefAdapter) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UriRefAdapter) -> bool
fn ne(&self, other: &UriRefAdapter) -> bool
This method tests for !=
.
impl Eq for UriRefAdapter
impl StructuralEq for UriRefAdapter
impl StructuralPartialEq for UriRefAdapter
Auto Trait Implementations
impl RefUnwindSafe for UriRefAdapter
impl Send for UriRefAdapter
impl Sync for UriRefAdapter
impl Unpin for UriRefAdapter
impl UnwindSafe for UriRefAdapter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more