pub enum Tag {
Element(String),
Component(String),
}Expand description
Represents the type of an HTML tag or a component.
Distinguishes between standard HTML elements and user-defined components.
Variants§
Element(String)
A standard HTML element identified by its tag name.
Component(String)
A custom component type.
Trait Implementations§
impl Eq for Tag
impl StructuralPartialEq for Tag
Auto Trait Implementations§
impl Freeze for Tag
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnsafeUnpin for Tag
impl UnwindSafe for Tag
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