Struct markup5ever::interface::tree_builder::ElementFlags
source · pub struct ElementFlags {
pub template: bool,
pub mathml_annotation_xml_integration_point: bool,
_private: (),
}
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
_private: ()
Trait Implementations§
source§impl Default for ElementFlags
impl Default for ElementFlags
source§fn 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§
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