pub struct FontsUpdated {
pub method: FontsUpdatedMethod,
pub params: FontsUpdatedParams,
}Expand description
Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded web font. fontsUpdated
Fields§
§method: FontsUpdatedMethod§params: FontsUpdatedParamsImplementations§
Source§impl FontsUpdated
impl FontsUpdated
pub const IDENTIFIER: &'static str = "CSS.fontsUpdated"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for FontsUpdated
impl Clone for FontsUpdated
Source§fn clone(&self) -> FontsUpdated
fn clone(&self) -> FontsUpdated
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 FontsUpdated
impl Debug for FontsUpdated
Source§impl<'de> Deserialize<'de> for FontsUpdated
impl<'de> Deserialize<'de> for FontsUpdated
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<FontsUpdated> for BrowserProtocolEvents
impl From<FontsUpdated> for BrowserProtocolEvents
Source§fn from(v: FontsUpdated) -> Self
fn from(v: FontsUpdated) -> Self
Converts to this type from the input type.
Source§impl From<FontsUpdated> for CssEvents
impl From<FontsUpdated> for CssEvents
Source§fn from(v: FontsUpdated) -> Self
fn from(v: FontsUpdated) -> Self
Converts to this type from the input type.
Source§impl From<FontsUpdated> for Event
impl From<FontsUpdated> for Event
Source§fn from(v: FontsUpdated) -> Self
fn from(v: FontsUpdated) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FontsUpdated
impl PartialEq for FontsUpdated
Source§impl Serialize for FontsUpdated
impl Serialize for FontsUpdated
Source§impl TryFrom<BrowserProtocolEvents> for FontsUpdated
impl TryFrom<BrowserProtocolEvents> for FontsUpdated
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, <FontsUpdated as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <FontsUpdated as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<CssEvents> for FontsUpdated
impl TryFrom<CssEvents> for FontsUpdated
Source§impl TryFrom<Event> for FontsUpdated
impl TryFrom<Event> for FontsUpdated
impl StructuralPartialEq for FontsUpdated
Auto Trait Implementations§
impl Freeze for FontsUpdated
impl RefUnwindSafe for FontsUpdated
impl Send for FontsUpdated
impl Sync for FontsUpdated
impl Unpin for FontsUpdated
impl UnsafeUnpin for FontsUpdated
impl UnwindSafe for FontsUpdated
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