pub struct StyleSheetAdded {
pub method: StyleSheetAddedMethod,
pub params: StyleSheetAddedParams,
}Expand description
Fired whenever an active document stylesheet is added. styleSheetAdded
Fields§
§method: StyleSheetAddedMethod§params: StyleSheetAddedParamsImplementations§
Source§impl StyleSheetAdded
impl StyleSheetAdded
pub const IDENTIFIER: &'static str = "CSS.styleSheetAdded"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for StyleSheetAdded
impl Clone for StyleSheetAdded
Source§fn clone(&self) -> StyleSheetAdded
fn clone(&self) -> StyleSheetAdded
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 Debug for StyleSheetAdded
impl Debug for StyleSheetAdded
Source§impl<'de> Deserialize<'de> for StyleSheetAdded
impl<'de> Deserialize<'de> for StyleSheetAdded
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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<StyleSheetAdded> for BrowserProtocolEvents
impl From<StyleSheetAdded> for BrowserProtocolEvents
Source§fn from(v: StyleSheetAdded) -> Self
fn from(v: StyleSheetAdded) -> Self
Converts to this type from the input type.
Source§impl From<StyleSheetAdded> for CssEvents
impl From<StyleSheetAdded> for CssEvents
Source§fn from(v: StyleSheetAdded) -> Self
fn from(v: StyleSheetAdded) -> Self
Converts to this type from the input type.
Source§impl From<StyleSheetAdded> for Event
impl From<StyleSheetAdded> for Event
Source§fn from(v: StyleSheetAdded) -> Self
fn from(v: StyleSheetAdded) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StyleSheetAdded
impl PartialEq for StyleSheetAdded
Source§impl Serialize for StyleSheetAdded
impl Serialize for StyleSheetAdded
Source§impl TryFrom<BrowserProtocolEvents> for StyleSheetAdded
impl TryFrom<BrowserProtocolEvents> for StyleSheetAdded
Source§type Error = BrowserProtocolEvents
type Error = BrowserProtocolEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolEvents,
) -> Result<Self, <StyleSheetAdded as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <StyleSheetAdded as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<CssEvents> for StyleSheetAdded
impl TryFrom<CssEvents> for StyleSheetAdded
Source§impl TryFrom<Event> for StyleSheetAdded
impl TryFrom<Event> for StyleSheetAdded
impl StructuralPartialEq for StyleSheetAdded
Auto Trait Implementations§
impl Freeze for StyleSheetAdded
impl RefUnwindSafe for StyleSheetAdded
impl Send for StyleSheetAdded
impl Sync for StyleSheetAdded
impl Unpin for StyleSheetAdded
impl UnsafeUnpin for StyleSheetAdded
impl UnwindSafe for StyleSheetAdded
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