pub enum RelaxNgPatternType {
Show 21 variants
Element,
Attribute,
Text,
Choice,
Sequence,
Interleave,
ZeroOrMore,
OneOrMore,
Optional,
List,
Group,
Data,
Value,
Ref,
Define,
Grammar,
NotAllowed,
Empty,
ExternalRef,
Include,
Start,
}Expand description
RELAX NG pattern type — classification for pattern dispatch.
§UPSTREAM-PARITY
Mirrors libxml2’s internal pattern type classification.
Variants§
Element
Attribute
Text
Choice
Sequence
Interleave
ZeroOrMore
OneOrMore
Optional
List
Group
Data
Value
Ref
Define
Grammar
NotAllowed
Empty
ExternalRef
Include
Start
Trait Implementations§
Source§impl Clone for RelaxNgPatternType
impl Clone for RelaxNgPatternType
Source§fn clone(&self) -> RelaxNgPatternType
fn clone(&self) -> RelaxNgPatternType
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 RelaxNgPatternType
Source§impl Debug for RelaxNgPatternType
impl Debug for RelaxNgPatternType
impl Eq for RelaxNgPatternType
Source§impl PartialEq for RelaxNgPatternType
impl PartialEq for RelaxNgPatternType
impl StructuralPartialEq for RelaxNgPatternType
Auto Trait Implementations§
impl Freeze for RelaxNgPatternType
impl RefUnwindSafe for RelaxNgPatternType
impl Send for RelaxNgPatternType
impl Sync for RelaxNgPatternType
impl Unpin for RelaxNgPatternType
impl UnsafeUnpin for RelaxNgPatternType
impl UnwindSafe for RelaxNgPatternType
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