pub enum AttributeType {
CDATA,
ID,
IDREF,
IDREFS,
ENTITY,
ENTITIES,
NMTOKEN,
NMTOKENS,
NOTATION(HashSet<Box<str>>),
Enumeration(HashSet<Box<str>>),
}Expand description
Variants§
CDATA
CDATA type ('CDATA')
ID
ID type ('ID')
IDREF
IDREF type ('IDREF')
IDREFS
IDREFS type ('IDREFS')
ENTITY
Entity Name type ('ENTITY')
ENTITIES
Entity Names type ('ENTITIES')
NMTOKEN
Name token type ('NMTOKEN')
NMTOKENS
Name tokens type ('NMTOKENS')
NOTATION(HashSet<Box<str>>)
Notation type ('NOTATION')
Enumeration(HashSet<Box<str>>)
Enumeration type
Trait Implementations§
Source§impl Clone for AttributeType
impl Clone for AttributeType
Source§fn clone(&self) -> AttributeType
fn clone(&self) -> AttributeType
Returns a duplicate 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 AttributeType
impl Debug for AttributeType
Source§impl Default for AttributeType
impl Default for AttributeType
Source§fn default() -> AttributeType
fn default() -> AttributeType
Returns the “default value” for a type. Read more
Source§impl Display for AttributeType
impl Display for AttributeType
Source§impl PartialEq for AttributeType
impl PartialEq for AttributeType
impl Eq for AttributeType
impl StructuralPartialEq for AttributeType
Auto Trait Implementations§
impl Freeze for AttributeType
impl RefUnwindSafe for AttributeType
impl Send for AttributeType
impl Sync for AttributeType
impl Unpin for AttributeType
impl UnsafeUnpin for AttributeType
impl UnwindSafe for AttributeType
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