Struct xml5ever::interface::tree_builder::ElementFlags
source · #[non_exhaustive]pub struct ElementFlags {
pub template: bool,
pub mathml_annotation_xml_integration_point: bool,
}
Expand description
Special properties of an element, useful for tagging elements with this information.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.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§
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 Freeze for ElementFlags
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