pub struct GetPlatformFontsForNode {
pub method: GetPlatformFontsForNodeMethod,
pub params: GetPlatformFontsForNodeParams,
}Expand description
Requests information about platform fonts which we used to render child TextNodes in the given node. getPlatformFontsForNode
Fields§
§method: GetPlatformFontsForNodeMethod§params: GetPlatformFontsForNodeParamsImplementations§
Source§impl GetPlatformFontsForNode
impl GetPlatformFontsForNode
pub const IDENTIFIER: &'static str = "CSS.getPlatformFontsForNode"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetPlatformFontsForNode
impl Clone for GetPlatformFontsForNode
Source§fn clone(&self) -> GetPlatformFontsForNode
fn clone(&self) -> GetPlatformFontsForNode
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 CommandResult for GetPlatformFontsForNode
impl CommandResult for GetPlatformFontsForNode
type Result = GetPlatformFontsForNodeResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetPlatformFontsForNode
impl Debug for GetPlatformFontsForNode
Source§impl<'de> Deserialize<'de> for GetPlatformFontsForNode
impl<'de> Deserialize<'de> for GetPlatformFontsForNode
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<GetPlatformFontsForNode> for BrowserProtocolCommands
impl From<GetPlatformFontsForNode> for BrowserProtocolCommands
Source§fn from(v: GetPlatformFontsForNode) -> Self
fn from(v: GetPlatformFontsForNode) -> Self
Converts to this type from the input type.
Source§impl From<GetPlatformFontsForNode> for Command
impl From<GetPlatformFontsForNode> for Command
Source§fn from(v: GetPlatformFontsForNode) -> Self
fn from(v: GetPlatformFontsForNode) -> Self
Converts to this type from the input type.
Source§impl From<GetPlatformFontsForNode> for CssCommands
impl From<GetPlatformFontsForNode> for CssCommands
Source§fn from(v: GetPlatformFontsForNode) -> Self
fn from(v: GetPlatformFontsForNode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetPlatformFontsForNode
impl PartialEq for GetPlatformFontsForNode
Source§impl Serialize for GetPlatformFontsForNode
impl Serialize for GetPlatformFontsForNode
Source§impl TryFrom<BrowserProtocolCommands> for GetPlatformFontsForNode
impl TryFrom<BrowserProtocolCommands> for GetPlatformFontsForNode
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <GetPlatformFontsForNode as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetPlatformFontsForNode as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for GetPlatformFontsForNode
impl TryFrom<Command> for GetPlatformFontsForNode
Source§impl TryFrom<CssCommands> for GetPlatformFontsForNode
impl TryFrom<CssCommands> for GetPlatformFontsForNode
Source§type Error = CssCommands
type Error = CssCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: CssCommands,
) -> Result<Self, <GetPlatformFontsForNode as TryFrom<CssCommands>>::Error>
fn try_from( e: CssCommands, ) -> Result<Self, <GetPlatformFontsForNode as TryFrom<CssCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for GetPlatformFontsForNode
Auto Trait Implementations§
impl Freeze for GetPlatformFontsForNode
impl RefUnwindSafe for GetPlatformFontsForNode
impl Send for GetPlatformFontsForNode
impl Sync for GetPlatformFontsForNode
impl Unpin for GetPlatformFontsForNode
impl UnsafeUnpin for GetPlatformFontsForNode
impl UnwindSafe for GetPlatformFontsForNode
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