pub struct Unicode<S>(pub S);
Tuple Fields§
§0: S
Implementations§
Trait Implementations§
source§impl<T: AsRef<str>> Ord for Unicode<T>
impl<T: AsRef<str>> Ord for Unicode<T>
source§impl<S1: AsRef<str>, S2: AsRef<str>> PartialEq<Unicode<S2>> for Unicode<S1>
impl<S1: AsRef<str>, S2: AsRef<str>> PartialEq<Unicode<S2>> for Unicode<S1>
source§impl<T: AsRef<str>> PartialOrd for Unicode<T>
impl<T: AsRef<str>> PartialOrd for Unicode<T>
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: Copy> Copy for Unicode<S>
impl<S: AsRef<str>> Eq for Unicode<S>
Auto Trait Implementations§
impl<S> Freeze for Unicode<S>where
S: Freeze,
impl<S> RefUnwindSafe for Unicode<S>where
S: RefUnwindSafe,
impl<S> Send for Unicode<S>where
S: Send,
impl<S> Sync for Unicode<S>where
S: Sync,
impl<S> Unpin for Unicode<S>where
S: Unpin,
impl<S> UnwindSafe for Unicode<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