pub struct CollationMetadata {
pub bits: u32,
}
Expand description
Each non-alias collation that the data provider knows about explicitly has an data entry at least for this struct.
๐ง This code is considered unstable; it may change at any time, in breaking or non-breaking ways,
including in SemVer minor releases. While the serde representation of data structs is guaranteed
to be stable, their Rust representation might not be. Use with caution.
Fieldsยง
ยงbits: u32
See the mask constants in the impl
block for the
bit layout. The other bits are ignored: They could
be from the future if their semantics such that
old code may ignore them.
Note: At present, itโs bogus for the bit for โupper firstโ to be set if โcase firstโ isnโt also set. However, the methods handle this case gracefully, so there is no need for invariant validation.
Trait Implementationsยง
Sourceยงimpl Clone for CollationMetadata
impl Clone for CollationMetadata
Sourceยงfn clone(&self) -> CollationMetadata
fn clone(&self) -> CollationMetadata
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 Debug for CollationMetadata
impl Debug for CollationMetadata
Sourceยงimpl<'de> Deserialize<'de> for CollationMetadata
impl<'de> Deserialize<'de> for CollationMetadata
Sourceยงfn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Sourceยงimpl MaybeAsVarULE for CollationMetadata
impl MaybeAsVarULE for CollationMetadata
Sourceยงimpl PartialEq for CollationMetadata
impl PartialEq for CollationMetadata
Sourceยงimpl<'a> Yokeable<'a> for CollationMetadatawhere
Self: Sized,
impl<'a> Yokeable<'a> for CollationMetadatawhere
Self: Sized,
Sourceยงtype Output = CollationMetadata
type Output = CollationMetadata
This type MUST be
Self
with the 'static
replaced with 'a
, i.e. Self<'a>
Sourceยงfn transform_owned(self) -> Self::Output
fn transform_owned(self) -> Self::Output
Sourceยงimpl<'zf> ZeroFrom<'zf, CollationMetadata> for CollationMetadata
impl<'zf> ZeroFrom<'zf, CollationMetadata> for CollationMetadata
impl Copy for CollationMetadata
impl StructuralPartialEq for CollationMetadata
Auto Trait Implementationsยง
impl Freeze for CollationMetadata
impl RefUnwindSafe for CollationMetadata
impl Send for CollationMetadata
impl Sync for CollationMetadata
impl Unpin for CollationMetadata
impl UnwindSafe for CollationMetadata
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<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more