Implementations§
source§impl<S: AsRef<str>> ResourceLocationRef<S>
impl<S: AsRef<str>> ResourceLocationRef<S>
source§impl ResourceLocationRef<String>
impl ResourceLocationRef<String>
pub fn to_ref(&self) -> ResourceLocationRef<&str>
Trait Implementations§
source§impl<S: Clone + AsRef<str>> Clone for ResourceLocationRef<S>
impl<S: Clone + AsRef<str>> Clone for ResourceLocationRef<S>
source§fn clone(&self) -> ResourceLocationRef<S>
fn clone(&self) -> ResourceLocationRef<S>
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 moresource§impl<S: AsRef<str>> Ord for ResourceLocationRef<S>
impl<S: AsRef<str>> Ord for ResourceLocationRef<S>
source§impl<S: AsRef<str>> PartialEq<ResourceLocationRef<S>> for ResourceLocationRef<S>
impl<S: AsRef<str>> PartialEq<ResourceLocationRef<S>> for ResourceLocationRef<S>
source§impl<S: AsRef<str>> PartialOrd<ResourceLocationRef<S>> for ResourceLocationRef<S>
impl<S: AsRef<str>> PartialOrd<ResourceLocationRef<S>> for ResourceLocationRef<S>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<S: AsRef<str>> Eq for ResourceLocationRef<S>
Auto Trait Implementations§
impl<S> RefUnwindSafe for ResourceLocationRef<S>where
S: RefUnwindSafe,
impl<S> Send for ResourceLocationRef<S>where
S: Send,
impl<S> Sync for ResourceLocationRef<S>where
S: Sync,
impl<S> Unpin for ResourceLocationRef<S>where
S: Unpin,
impl<S> UnwindSafe for ResourceLocationRef<S>where
S: UnwindSafe,
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.