Struct html5ever::interface::tree_builder::ElementFlags
source · [−]pub struct ElementFlags {
pub template: bool,
pub mathml_annotation_xml_integration_point: bool,
/* private fields */
}
Expand description
Special properties of an element, useful for tagging elements with this information.
Fields
template: bool
A document fragment should be created, associated with the element, and returned in TreeSink::get_template_contents.
mathml_annotation_xml_integration_point: bool
This boolean should be recorded with the element and returned in TreeSink::is_mathml_annotation_xml_integration_point
Trait Implementations
sourceimpl Default for ElementFlags
impl Default for ElementFlags
sourcefn default() -> ElementFlags
fn default() -> ElementFlags
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ElementFlags
impl Send for ElementFlags
impl Sync for ElementFlags
impl Unpin for ElementFlags
impl UnwindSafe for ElementFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more