pub struct EventAdoptedStyleSheetsModified {
pub node_id: NodeId,
pub adopted_style_sheets: Vec<StyleSheetId>,
}Expand description
Fired when Element’s adoptedStyleSheets are modified.
adoptedStyleSheetsModified
Fields§
§node_id: NodeIdId of the node that has changed.
adopted_style_sheets: Vec<StyleSheetId>New adoptedStyleSheets array.
Implementations§
Source§impl EventAdoptedStyleSheetsModified
impl EventAdoptedStyleSheetsModified
pub const IDENTIFIER: &'static str = "DOM.adoptedStyleSheetsModified"
Trait Implementations§
Source§impl Clone for EventAdoptedStyleSheetsModified
impl Clone for EventAdoptedStyleSheetsModified
Source§fn clone(&self) -> EventAdoptedStyleSheetsModified
fn clone(&self) -> EventAdoptedStyleSheetsModified
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for EventAdoptedStyleSheetsModified
impl<'de> Deserialize<'de> for EventAdoptedStyleSheetsModified
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EventAdoptedStyleSheetsModified, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EventAdoptedStyleSheetsModified, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<EventAdoptedStyleSheetsModified> for CdpEvent
impl From<EventAdoptedStyleSheetsModified> for CdpEvent
Source§fn from(el: EventAdoptedStyleSheetsModified) -> CdpEvent
fn from(el: EventAdoptedStyleSheetsModified) -> CdpEvent
Converts to this type from the input type.
Source§impl IntoEventKind for EventAdoptedStyleSheetsModified
impl IntoEventKind for EventAdoptedStyleSheetsModified
Source§fn event_kind() -> EventKindwhere
EventAdoptedStyleSheetsModified: Sized + 'static,
fn event_kind() -> EventKindwhere
EventAdoptedStyleSheetsModified: Sized + 'static,
What kind of event this type is
Source§impl Method for EventAdoptedStyleSheetsModified
impl Method for EventAdoptedStyleSheetsModified
Source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNodeSource§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOMSource§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNodeSource§impl PartialEq for EventAdoptedStyleSheetsModified
impl PartialEq for EventAdoptedStyleSheetsModified
Source§fn eq(&self, other: &EventAdoptedStyleSheetsModified) -> bool
fn eq(&self, other: &EventAdoptedStyleSheetsModified) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EventAdoptedStyleSheetsModified
impl Serialize for EventAdoptedStyleSheetsModified
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for EventAdoptedStyleSheetsModified
Auto Trait Implementations§
impl Freeze for EventAdoptedStyleSheetsModified
impl RefUnwindSafe for EventAdoptedStyleSheetsModified
impl Send for EventAdoptedStyleSheetsModified
impl Sync for EventAdoptedStyleSheetsModified
impl Unpin for EventAdoptedStyleSheetsModified
impl UnsafeUnpin for EventAdoptedStyleSheetsModified
impl UnwindSafe for EventAdoptedStyleSheetsModified
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