pub struct GetPlatformFontsForNodeReturns {
pub fonts: Vec<PlatformFontUsage>,
}Expand description
Requests information about platform fonts which we used to render child TextNodes in the given node. getPlatformFontsForNode
Fields§
§fonts: Vec<PlatformFontUsage>Usage statistics for every employed platform font.
Implementations§
source§impl GetPlatformFontsForNodeReturns
impl GetPlatformFontsForNodeReturns
pub fn new(fonts: Vec<PlatformFontUsage>) -> GetPlatformFontsForNodeReturns
Trait Implementations§
source§impl Clone for GetPlatformFontsForNodeReturns
impl Clone for GetPlatformFontsForNodeReturns
source§fn clone(&self) -> GetPlatformFontsForNodeReturns
fn clone(&self) -> GetPlatformFontsForNodeReturns
Returns a copy 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 GetPlatformFontsForNodeReturns
impl<'de> Deserialize<'de> for GetPlatformFontsForNodeReturns
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<GetPlatformFontsForNodeReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<GetPlatformFontsForNodeReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for GetPlatformFontsForNodeReturns
impl PartialEq for GetPlatformFontsForNodeReturns
source§fn eq(&self, other: &GetPlatformFontsForNodeReturns) -> bool
fn eq(&self, other: &GetPlatformFontsForNodeReturns) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for GetPlatformFontsForNodeReturns
impl Serialize for GetPlatformFontsForNodeReturns
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 GetPlatformFontsForNodeReturns
Auto Trait Implementations§
impl RefUnwindSafe for GetPlatformFontsForNodeReturns
impl Send for GetPlatformFontsForNodeReturns
impl Sync for GetPlatformFontsForNodeReturns
impl Unpin for GetPlatformFontsForNodeReturns
impl UnwindSafe for GetPlatformFontsForNodeReturns
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