pub enum ComponentKey {
Type(TypeKey),
Element(ElementKey),
Attribute(AttributeKey),
ModelGroup(ModelGroupKey),
AttributeGroup(AttributeGroupKey),
Notation(NotationKey),
IdentityConstraint(IdentityConstraintKey),
}Expand description
A typed arena key for any top-level schema component.
Variants§
Type(TypeKey)
Element(ElementKey)
Attribute(AttributeKey)
ModelGroup(ModelGroupKey)
AttributeGroup(AttributeGroupKey)
Notation(NotationKey)
IdentityConstraint(IdentityConstraintKey)
Trait Implementations§
Source§impl Clone for ComponentKey
impl Clone for ComponentKey
Source§fn clone(&self) -> ComponentKey
fn clone(&self) -> ComponentKey
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 ComponentKey
Source§impl Debug for ComponentKey
impl Debug for ComponentKey
impl Eq for ComponentKey
Source§impl PartialEq for ComponentKey
impl PartialEq for ComponentKey
Source§fn eq(&self, other: &ComponentKey) -> bool
fn eq(&self, other: &ComponentKey) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ComponentKey
Auto Trait Implementations§
impl Freeze for ComponentKey
impl RefUnwindSafe for ComponentKey
impl Send for ComponentKey
impl Sync for ComponentKey
impl Unpin for ComponentKey
impl UnsafeUnpin for ComponentKey
impl UnwindSafe for ComponentKey
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