Skip to main content

DomEvents

pub enum DomEvents {
Show 19 variants AttributeModified(AttributeModified), AdoptedStyleSheetsModified(AdoptedStyleSheetsModified), AttributeRemoved(AttributeRemoved), CharacterDataModified(CharacterDataModified), ChildNodeCountUpdated(ChildNodeCountUpdated), ChildNodeInserted(ChildNodeInserted), ChildNodeRemoved(ChildNodeRemoved), DistributedNodesUpdated(DistributedNodesUpdated), DocumentUpdated(DocumentUpdated), InlineStyleInvalidated(InlineStyleInvalidated), PseudoElementAdded(PseudoElementAdded), TopLayerElementsUpdated(TopLayerElementsUpdated), ScrollableFlagUpdated(ScrollableFlagUpdated), AdRelatedStateUpdated(AdRelatedStateUpdated), AffectedByStartingStylesFlagUpdated(AffectedByStartingStylesFlagUpdated), PseudoElementRemoved(PseudoElementRemoved), SetChildNodes(SetChildNodes), ShadowRootPopped(ShadowRootPopped), ShadowRootPushed(ShadowRootPushed),
}

Variants§

§

AttributeModified(AttributeModified)

§

AdoptedStyleSheetsModified(AdoptedStyleSheetsModified)

§

AttributeRemoved(AttributeRemoved)

§

CharacterDataModified(CharacterDataModified)

§

ChildNodeCountUpdated(ChildNodeCountUpdated)

§

ChildNodeInserted(ChildNodeInserted)

§

ChildNodeRemoved(ChildNodeRemoved)

§

DistributedNodesUpdated(DistributedNodesUpdated)

§

DocumentUpdated(DocumentUpdated)

§

InlineStyleInvalidated(InlineStyleInvalidated)

§

PseudoElementAdded(PseudoElementAdded)

§

TopLayerElementsUpdated(TopLayerElementsUpdated)

§

ScrollableFlagUpdated(ScrollableFlagUpdated)

§

AdRelatedStateUpdated(AdRelatedStateUpdated)

§

AffectedByStartingStylesFlagUpdated(AffectedByStartingStylesFlagUpdated)

§

PseudoElementRemoved(PseudoElementRemoved)

§

SetChildNodes(SetChildNodes)

§

ShadowRootPopped(ShadowRootPopped)

§

ShadowRootPushed(ShadowRootPushed)

Implementations§

Source§

impl DomEvents

Source

pub fn identifier(&self) -> &'static str

Trait Implementations§

Source§

impl Clone for DomEvents

Source§

fn clone(&self) -> DomEvents

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for DomEvents

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for DomEvents

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<AdRelatedStateUpdated> for DomEvents

Source§

fn from(v: AdRelatedStateUpdated) -> Self

Converts to this type from the input type.
Source§

impl From<AdoptedStyleSheetsModified> for DomEvents

Source§

fn from(v: AdoptedStyleSheetsModified) -> Self

Converts to this type from the input type.
Source§

impl From<AffectedByStartingStylesFlagUpdated> for DomEvents

Source§

fn from(v: AffectedByStartingStylesFlagUpdated) -> Self

Converts to this type from the input type.
Source§

impl From<AttributeModified> for DomEvents

Source§

fn from(v: AttributeModified) -> Self

Converts to this type from the input type.
Source§

impl From<AttributeRemoved> for DomEvents

Source§

fn from(v: AttributeRemoved) -> Self

Converts to this type from the input type.
Source§

impl From<CharacterDataModified> for DomEvents

Source§

fn from(v: CharacterDataModified) -> Self

Converts to this type from the input type.
Source§

impl From<ChildNodeCountUpdated> for DomEvents

Source§

fn from(v: ChildNodeCountUpdated) -> Self

Converts to this type from the input type.
Source§

impl From<ChildNodeInserted> for DomEvents

Source§

fn from(v: ChildNodeInserted) -> Self

Converts to this type from the input type.
Source§

impl From<ChildNodeRemoved> for DomEvents

Source§

fn from(v: ChildNodeRemoved) -> Self

Converts to this type from the input type.
Source§

impl From<DistributedNodesUpdated> for DomEvents

Source§

fn from(v: DistributedNodesUpdated) -> Self

Converts to this type from the input type.
Source§

impl From<DocumentUpdated> for DomEvents

Source§

fn from(v: DocumentUpdated) -> Self

Converts to this type from the input type.
Source§

impl From<DomEvents> for BrowserProtocolEvents

Source§

fn from(v: DomEvents) -> Self

Converts to this type from the input type.
Source§

impl From<DomEvents> for Event

Source§

fn from(v: DomEvents) -> Self

Converts to this type from the input type.
Source§

impl From<InlineStyleInvalidated> for DomEvents

Source§

fn from(v: InlineStyleInvalidated) -> Self

Converts to this type from the input type.
Source§

impl From<PseudoElementAdded> for DomEvents

Source§

fn from(v: PseudoElementAdded) -> Self

Converts to this type from the input type.
Source§

impl From<PseudoElementRemoved> for DomEvents

Source§

fn from(v: PseudoElementRemoved) -> Self

Converts to this type from the input type.
Source§

impl From<ScrollableFlagUpdated> for DomEvents

Source§

fn from(v: ScrollableFlagUpdated) -> Self

Converts to this type from the input type.
Source§

impl From<SetChildNodes> for DomEvents

Source§

fn from(v: SetChildNodes) -> Self

Converts to this type from the input type.
Source§

impl From<ShadowRootPopped> for DomEvents

Source§

fn from(v: ShadowRootPopped) -> Self

Converts to this type from the input type.
Source§

impl From<ShadowRootPushed> for DomEvents

Source§

fn from(v: ShadowRootPushed) -> Self

Converts to this type from the input type.
Source§

impl From<TopLayerElementsUpdated> for DomEvents

Source§

fn from(v: TopLayerElementsUpdated) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for DomEvents

Source§

fn eq(&self, other: &DomEvents) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for DomEvents

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<BrowserProtocolEvents> for DomEvents

Source§

type Error = BrowserProtocolEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <DomEvents as TryFrom<BrowserProtocolEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<DomEvents> for AdRelatedStateUpdated

Source§

type Error = DomEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: DomEvents, ) -> Result<Self, <AdRelatedStateUpdated as TryFrom<DomEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<DomEvents> for AdoptedStyleSheetsModified

Source§

type Error = DomEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: DomEvents, ) -> Result<Self, <AdoptedStyleSheetsModified as TryFrom<DomEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<DomEvents> for AffectedByStartingStylesFlagUpdated

Source§

type Error = DomEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: DomEvents, ) -> Result<Self, <AffectedByStartingStylesFlagUpdated as TryFrom<DomEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<DomEvents> for AttributeModified

Source§

type Error = DomEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: DomEvents, ) -> Result<Self, <AttributeModified as TryFrom<DomEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<DomEvents> for AttributeRemoved

Source§

type Error = DomEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: DomEvents, ) -> Result<Self, <AttributeRemoved as TryFrom<DomEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<DomEvents> for CharacterDataModified

Source§

type Error = DomEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: DomEvents, ) -> Result<Self, <CharacterDataModified as TryFrom<DomEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<DomEvents> for ChildNodeCountUpdated

Source§

type Error = DomEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: DomEvents, ) -> Result<Self, <ChildNodeCountUpdated as TryFrom<DomEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<DomEvents> for ChildNodeInserted

Source§

type Error = DomEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: DomEvents, ) -> Result<Self, <ChildNodeInserted as TryFrom<DomEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<DomEvents> for ChildNodeRemoved

Source§

type Error = DomEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: DomEvents, ) -> Result<Self, <ChildNodeRemoved as TryFrom<DomEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<DomEvents> for DistributedNodesUpdated

Source§

type Error = DomEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: DomEvents, ) -> Result<Self, <DistributedNodesUpdated as TryFrom<DomEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<DomEvents> for DocumentUpdated

Source§

type Error = DomEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: DomEvents, ) -> Result<Self, <DocumentUpdated as TryFrom<DomEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<DomEvents> for InlineStyleInvalidated

Source§

type Error = DomEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: DomEvents, ) -> Result<Self, <InlineStyleInvalidated as TryFrom<DomEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<DomEvents> for PseudoElementAdded

Source§

type Error = DomEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: DomEvents, ) -> Result<Self, <PseudoElementAdded as TryFrom<DomEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<DomEvents> for PseudoElementRemoved

Source§

type Error = DomEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: DomEvents, ) -> Result<Self, <PseudoElementRemoved as TryFrom<DomEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<DomEvents> for ScrollableFlagUpdated

Source§

type Error = DomEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: DomEvents, ) -> Result<Self, <ScrollableFlagUpdated as TryFrom<DomEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<DomEvents> for SetChildNodes

Source§

type Error = DomEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: DomEvents, ) -> Result<Self, <SetChildNodes as TryFrom<DomEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<DomEvents> for ShadowRootPopped

Source§

type Error = DomEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: DomEvents, ) -> Result<Self, <ShadowRootPopped as TryFrom<DomEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<DomEvents> for ShadowRootPushed

Source§

type Error = DomEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: DomEvents, ) -> Result<Self, <ShadowRootPushed as TryFrom<DomEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<DomEvents> for TopLayerElementsUpdated

Source§

type Error = DomEvents

The type returned in the event of a conversion error.
Source§

fn try_from( e: DomEvents, ) -> Result<Self, <TopLayerElementsUpdated as TryFrom<DomEvents>>::Error>

Performs the conversion.
Source§

impl TryFrom<Event> for DomEvents

Source§

type Error = Event

The type returned in the event of a conversion error.
Source§

fn try_from(e: Event) -> Result<Self, <DomEvents as TryFrom<Event>>::Error>

Performs the conversion.
Source§

impl StructuralPartialEq for DomEvents

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,