pub enum ElementKind {
Library,
Subject,
DataTemplate,
ObjectType,
GroupOfProperties,
Property,
Unit,
Dimension,
QuantityKind,
ReferenceDocument,
}Expand description
Recognized ISO 23387 element kinds, including local Library children.
Variants§
Library
Subject
DataTemplate
ObjectType
GroupOfProperties
Property
Unit
Dimension
QuantityKind
ReferenceDocument
Implementations§
Source§impl ElementKind
impl ElementKind
Sourcepub const fn is_global_root(self) -> bool
pub const fn is_global_root(self) -> bool
Whether Annex E declares this kind as a concrete global document root.
pub fn from_element(element: &Element) -> Option<Self>
Trait Implementations§
Source§impl Clone for ElementKind
impl Clone for ElementKind
Source§fn clone(&self) -> ElementKind
fn clone(&self) -> ElementKind
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 ElementKind
impl Debug for ElementKind
Source§impl Hash for ElementKind
impl Hash for ElementKind
Source§impl PartialEq for ElementKind
impl PartialEq for ElementKind
impl Copy for ElementKind
impl Eq for ElementKind
impl StructuralPartialEq for ElementKind
Auto Trait Implementations§
impl Freeze for ElementKind
impl RefUnwindSafe for ElementKind
impl Send for ElementKind
impl Sync for ElementKind
impl Unpin for ElementKind
impl UnwindSafe for ElementKind
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