pub struct ElementData {
pub name: QualName,
pub attrs: Vec<Attribute>,
pub mathml_annotation_xml_integration_point: bool,
pub layout_data: AtomicRefCell<LayoutDataForElement>,
pub css_local_name: CssLocalName,
}
Fields§
§name: QualName
§attrs: Vec<Attribute>
§mathml_annotation_xml_integration_point: bool
§layout_data: AtomicRefCell<LayoutDataForElement>
§css_local_name: CssLocalName
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ElementData
impl !RefUnwindSafe for ElementData
impl Send for ElementData
impl Sync for ElementData
impl Unpin for ElementData
impl UnwindSafe for ElementData
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more