Enum swash::text::cluster::ShapeClass
source · #[repr(u8)]pub enum ShapeClass {
Show 16 variants
Reph = 0,
Pref = 1,
Kinzi = 2,
Base = 3,
Mark = 4,
Halant = 5,
MedialRa = 6,
VMPre = 7,
VPre = 8,
VBlw = 9,
Anusvara = 10,
Zwj = 11,
Zwnj = 12,
Control = 13,
Vs = 14,
Other = 15,
}
Expand description
Shaping class of a character.
Variants§
Reph = 0
Reph form.
Pref = 1
Pre-base form.
Kinzi = 2
Myanmar three character prefix.
Base = 3
Base character.
Mark = 4
Mark character.
Halant = 5
Halant modifier.
MedialRa = 6
Medial consonant Ra.
VMPre = 7
Pre-base vowel modifier.
VPre = 8
Pre-base dependent vowel.
VBlw = 9
Below base dependent vowel.
Anusvara = 10
Anusvara class.
Zwj = 11
Zero width joiner.
Zwnj = 12
Zero width non-joiner.
Control = 13
Control character.
Vs = 14
Variation selector.
Other = 15
Other character.
Trait Implementations§
source§impl Clone for ShapeClass
impl Clone for ShapeClass
source§fn clone(&self) -> ShapeClass
fn clone(&self) -> ShapeClass
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 ShapeClass
impl Debug for ShapeClass
source§impl Default for ShapeClass
impl Default for ShapeClass
source§impl Ord for ShapeClass
impl Ord for ShapeClass
source§fn cmp(&self, other: &ShapeClass) -> Ordering
fn cmp(&self, other: &ShapeClass) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ShapeClass
impl PartialEq for ShapeClass
source§impl PartialOrd for ShapeClass
impl PartialOrd for ShapeClass
impl Copy for ShapeClass
impl Eq for ShapeClass
impl StructuralPartialEq for ShapeClass
Auto Trait Implementations§
impl Freeze for ShapeClass
impl RefUnwindSafe for ShapeClass
impl Send for ShapeClass
impl Sync for ShapeClass
impl Unpin for ShapeClass
impl UnwindSafe for ShapeClass
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)