pub struct NodeSchemaBinding {
pub type_key: TypeKey,
pub element_decl: Option<ElementKey>,
pub attribute_decl: Option<AttributeKey>,
pub content_type: Option<ContentType>,
}Expand description
Full schema binding for a single document node.
Two bindings are considered equal (for deduplication) when all fields match.
Fields§
§type_key: TypeKey§element_decl: Option<ElementKey>§attribute_decl: Option<AttributeKey>§content_type: Option<ContentType>Trait Implementations§
Source§impl Clone for NodeSchemaBinding
impl Clone for NodeSchemaBinding
Source§fn clone(&self) -> NodeSchemaBinding
fn clone(&self) -> NodeSchemaBinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NodeSchemaBinding
Source§impl Debug for NodeSchemaBinding
impl Debug for NodeSchemaBinding
impl Eq for NodeSchemaBinding
Source§impl PartialEq for NodeSchemaBinding
impl PartialEq for NodeSchemaBinding
Source§fn eq(&self, other: &NodeSchemaBinding) -> bool
fn eq(&self, other: &NodeSchemaBinding) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NodeSchemaBinding
Auto Trait Implementations§
impl Freeze for NodeSchemaBinding
impl RefUnwindSafe for NodeSchemaBinding
impl Send for NodeSchemaBinding
impl Sync for NodeSchemaBinding
impl Unpin for NodeSchemaBinding
impl UnsafeUnpin for NodeSchemaBinding
impl UnwindSafe for NodeSchemaBinding
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