pub struct SchemaSpec {
pub nodes: HashMap<String, NodeSpec>,
pub marks: HashMap<String, MarkSpec>,
pub top_node: Option<String>,
}
Expand description
Schema 规范定义 包含节点和标记的原始定义信息
Fields§
§nodes: HashMap<String, NodeSpec>
§marks: HashMap<String, MarkSpec>
§top_node: Option<String>
Trait Implementations§
Source§impl Clone for SchemaSpec
impl Clone for SchemaSpec
Source§fn clone(&self) -> SchemaSpec
fn clone(&self) -> SchemaSpec
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 SchemaSpec
impl Debug for SchemaSpec
Source§impl PartialEq for SchemaSpec
impl PartialEq for SchemaSpec
impl Eq for SchemaSpec
impl StructuralPartialEq for SchemaSpec
Auto Trait Implementations§
impl Freeze for SchemaSpec
impl RefUnwindSafe for SchemaSpec
impl Send for SchemaSpec
impl Sync for SchemaSpec
impl Unpin for SchemaSpec
impl UnwindSafe for SchemaSpec
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