pub enum AttributeAction {
Keep,
Skip,
SkipAndCountBinding,
}Expand description
Parser-owned decision about how an attribute should be handled.
Variants§
Keep
Let the parser process the attribute normally.
Skip
Skip the attribute without incrementing the element binding count.
SkipAndCountBinding
Skip the attribute and count it as a dynamic binding.
Trait Implementations§
Source§impl Clone for AttributeAction
impl Clone for AttributeAction
Source§fn clone(&self) -> AttributeAction
fn clone(&self) -> AttributeAction
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 AttributeAction
Source§impl Debug for AttributeAction
impl Debug for AttributeAction
impl Eq for AttributeAction
Source§impl PartialEq for AttributeAction
impl PartialEq for AttributeAction
impl StructuralPartialEq for AttributeAction
Auto Trait Implementations§
impl Freeze for AttributeAction
impl RefUnwindSafe for AttributeAction
impl Send for AttributeAction
impl Sync for AttributeAction
impl Unpin for AttributeAction
impl UnsafeUnpin for AttributeAction
impl UnwindSafe for AttributeAction
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