Struct druid::piet::cairo::glib::CollationKey
pub struct CollationKey(_);
Expand description
A CollationKey
allows ordering strings using the linguistically correct rules for the current locale.
Trait Implementations§
§impl Clone for CollationKey
impl Clone for CollationKey
§fn clone(&self) -> CollationKey
fn clone(&self) -> CollationKey
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 more§impl Debug for CollationKey
impl Debug for CollationKey
§impl<T> From<T> for CollationKeywhere
T: AsRef<str>,
impl<T> From<T> for CollationKeywhere T: AsRef<str>,
§fn from(s: T) -> CollationKey
fn from(s: T) -> CollationKey
Converts a string into a CollationKey
that can be compared with other
collation keys produced by the same function using std::cmp::Ordering::cmp()
.
§impl Ord for CollationKey
impl Ord for CollationKey
§impl PartialEq<CollationKey> for CollationKey
impl PartialEq<CollationKey> for CollationKey
§fn eq(&self, other: &CollationKey) -> bool
fn eq(&self, other: &CollationKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd<CollationKey> for CollationKey
impl PartialOrd<CollationKey> for CollationKey
§fn partial_cmp(&self, other: &CollationKey) -> Option<Ordering>
fn partial_cmp(&self, other: &CollationKey) -> Option<Ordering>
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 Eq for CollationKey
impl StructuralEq for CollationKey
impl StructuralPartialEq for CollationKey
Auto Trait Implementations§
impl RefUnwindSafe for CollationKey
impl Send for CollationKey
impl Sync for CollationKey
impl Unpin for CollationKey
impl UnwindSafe for CollationKey
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.