pub enum DotType {
NoDot = 0,
SoftDotted = 1,
Above = 2,
OtherAccent = 3,
}
Expand description
The dot type of a Unicode character. This indicates how dotted
letters (like i
and j
) combine with accents placed above the
letter.
๐ง 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.
Variantsยง
NoDot = 0
Normal characters with combining class 0
SoftDotted = 1
Soft-dotted characters with combining class 0
Above = 2
โAboveโ accents with combining class 230
OtherAccent = 3
Other accent characters
Trait Implementationsยง
Sourceยงimpl<'de> Deserialize<'de> for DotType
impl<'de> Deserialize<'de> for DotType
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
impl Copy for DotType
impl Eq for DotType
impl StructuralPartialEq for DotType
Auto Trait Implementationsยง
impl Freeze for DotType
impl RefUnwindSafe for DotType
impl Send for DotType
impl Sync for DotType
impl Unpin for DotType
impl UnwindSafe for DotType
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