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.

See template-contents in the whatwg spec.

mathml_annotation_xml_integration_point: bool

This boolean should be recorded with the element and returned in TreeSink::is_mathml_annotation_xml_integration_point

See html-integration-point in the whatwg spec.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.