Struct rphtml::parser::TagMeta [−][src]
Tag is_end: if the tag end with ‘>’ self_closed: if the tag is self-closing ‘/>’ auto_fix: if the tag either self-closing nor closed with a end tag, may auto fix by the parser name: the tag name attrs: the attribute list
Fields
self_closed: bool
auto_fix: bool
name: String
attrs: Vec<Attr>
lc_name_map: HashMap<String, usize>
Implementations
impl TagMeta
[src]
pub fn get_name(&self, case: Option<NameCase>) -> String
[src]
pub fn attrs_to_string(&self, remove_quote: bool) -> String
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TagMeta
impl Send for TagMeta
impl Sync for TagMeta
impl Unpin for TagMeta
impl UnwindSafe for TagMeta
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,