pub struct GetPlatformFontsForNodeParams {
pub node_id: NodeId,
}Expand description
Requests information about platform fonts which we used to render child TextNodes in the given node. getPlatformFontsForNode
Fields§
§node_id: NodeIdImplementations§
Source§impl GetPlatformFontsForNodeParams
impl GetPlatformFontsForNodeParams
pub fn builder() -> GetPlatformFontsForNodeParamsBuilder
Source§impl GetPlatformFontsForNodeParams
impl GetPlatformFontsForNodeParams
pub const IDENTIFIER: &'static str = "CSS.getPlatformFontsForNode"
Trait Implementations§
Source§impl Clone for GetPlatformFontsForNodeParams
impl Clone for GetPlatformFontsForNodeParams
Source§fn clone(&self) -> GetPlatformFontsForNodeParams
fn clone(&self) -> GetPlatformFontsForNodeParams
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 GetPlatformFontsForNodeParams
impl<'de> Deserialize<'de> for GetPlatformFontsForNodeParams
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 Method for GetPlatformFontsForNodeParams
impl Method for GetPlatformFontsForNodeParams
Source§fn identifier(&self) -> MethodId
fn identifier(&self) -> MethodId
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 GetPlatformFontsForNodeParams
impl PartialEq for GetPlatformFontsForNodeParams
Source§fn eq(&self, other: &GetPlatformFontsForNodeParams) -> bool
fn eq(&self, other: &GetPlatformFontsForNodeParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetPlatformFontsForNodeParams
Auto Trait Implementations§
impl Freeze for GetPlatformFontsForNodeParams
impl RefUnwindSafe for GetPlatformFontsForNodeParams
impl Send for GetPlatformFontsForNodeParams
impl Sync for GetPlatformFontsForNodeParams
impl Unpin for GetPlatformFontsForNodeParams
impl UnwindSafe for GetPlatformFontsForNodeParams
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