pub struct ResourceLocationRef<S: AsRef<str>> { /* private fields */ }
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>> PartialOrd for ResourceLocationRef<S>
impl<S: AsRef<str>> PartialOrd for ResourceLocationRef<S>
impl<S: AsRef<str>> Eq for ResourceLocationRef<S>
Auto Trait Implementations§
impl<S> Freeze for ResourceLocationRef<S>where
S: Freeze,
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<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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.