#[repr(u8)]pub enum Shape {
LeftRight = 1,
TopBottom = 2,
Whole = 3,
}Expand description
Wubi 字形 (character shape) — three-way classification used by the 末笔 识别码 rule. Discriminants 1..=3 match the seed-file numbering.
Variants§
LeftRight = 1
左右 — left-right structure.
TopBottom = 2
上下 — top-bottom structure.
Whole = 3
杂合 — single-component / unsplit.
Implementations§
Trait Implementations§
impl Copy for Shape
impl Eq for Shape
impl StructuralPartialEq for Shape
Auto Trait Implementations§
impl Freeze for Shape
impl RefUnwindSafe for Shape
impl Send for Shape
impl Sync for Shape
impl Unpin for Shape
impl UnsafeUnpin for Shape
impl UnwindSafe for Shape
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