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: u32See 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 Bake for CollationMetadata
impl Bake for CollationMetadata
Sourceยงfn bake(&self, env: &CrateEnv) -> TokenStream
fn bake(&self, env: &CrateEnv) -> TokenStream
Sourceยงimpl BakeSize for CollationMetadata
impl BakeSize for CollationMetadata
Sourceยงfn borrows_size(&self) -> usize
fn borrows_size(&self) -> usize
Returns the size
Sourceยงimpl Clone for CollationMetadata
impl Clone for CollationMetadata
impl Copy for CollationMetadata
Sourceยง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 MaybeEncodeAsVarULE for CollationMetadata
Available on crate feature datagen only.
impl MaybeEncodeAsVarULE for CollationMetadata
Available on crate feature
datagen only.Sourceยงtype EncodeableStruct<'b> = &'b [()]
where
Self: 'b
type EncodeableStruct<'b> = &'b [()] where Self: 'b
The type returned by
Self::maybe_as_encodeable.Sourceยงfn maybe_as_encodeable<'b>(&'b self) -> Option<Self::EncodeableStruct<'b>>
fn maybe_as_encodeable<'b>(&'b self) -> Option<Self::EncodeableStruct<'b>>
Returns something encodeable to the
MaybeAsVarULE::EncodedStruct that represents
this data struct, or None if the data struct does not support this representation.Sourceยงimpl PartialEq for CollationMetadata
impl PartialEq for CollationMetadata
Sourceยงimpl Serialize for CollationMetadata
impl Serialize for CollationMetadata
impl StructuralPartialEq for CollationMetadata
Sourceยงimpl<'yoke> Yokeable<'yoke> for CollationMetadatawhere
Self: Sized,
impl<'yoke> Yokeable<'yoke> 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
Auto Trait Implementationsยง
impl Freeze for CollationMetadata
impl RefUnwindSafe for CollationMetadata
impl Send for CollationMetadata
impl Sync for CollationMetadata
impl Unpin for CollationMetadata
impl UnsafeUnpin 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