pub enum TagKind {
Opening,
Closing,
SelfClosing,
}Expand description
Tag kind.
Variants§
Implementations§
Source§impl TagKind
impl TagKind
Sourcepub fn is_opening(self) -> bool
pub fn is_opening(self) -> bool
Check if tag is opening.
Sourcepub fn is_closing(self) -> bool
pub fn is_closing(self) -> bool
Check if tag is closing
Sourcepub fn is_self_closing(self) -> bool
pub fn is_self_closing(self) -> bool
Check if tag is self-closing.
Trait Implementations§
Source§impl Ord for TagKind
impl Ord for TagKind
Source§impl PartialOrd for TagKind
impl PartialOrd for TagKind
impl Copy for TagKind
impl Eq for TagKind
impl StructuralPartialEq for TagKind
Auto Trait Implementations§
impl Freeze for TagKind
impl RefUnwindSafe for TagKind
impl Send for TagKind
impl Sync for TagKind
impl Unpin for TagKind
impl UnwindSafe for TagKind
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