pub enum 字形 {
BasicComponent {
tags: Option<Vec<String>>,
strokes: Vec<笔画>,
},
DerivedComponent {
tags: Option<Vec<String>>,
source: String,
strokes: Vec<笔画>,
},
SplicedComponent {
tags: Option<Vec<String>>,
operator: String,
operandList: Vec<String>,
order: Option<Vec<笔画块>>,
parameters: Option<复合体参数>,
},
Compound {
tags: Option<Vec<String>>,
operator: String,
operandList: Vec<String>,
order: Option<Vec<笔画块>>,
parameters: Option<复合体参数>,
},
Identity {
tags: Option<Vec<String>>,
source: String,
},
}Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for 字形
impl<'de> Deserialize<'de> for 字形
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
Auto Trait Implementations§
impl Freeze for 字形
impl RefUnwindSafe for 字形
impl Send for 字形
impl Sync for 字形
impl Unpin for 字形
impl UnsafeUnpin for 字形
impl UnwindSafe for 字形
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