pub struct GetPlatformFontsForNodeReturns<'a> { /* private fields */ }Expand description
Requests information about platform fonts which we used to render child TextNodes in the given node.
Implementations§
Source§impl<'a> GetPlatformFontsForNodeReturns<'a>
impl<'a> GetPlatformFontsForNodeReturns<'a>
pub fn builder( fonts: Vec<PlatformFontUsage<'a>>, ) -> GetPlatformFontsForNodeReturnsBuilder<'a>
pub fn fonts(&self) -> &[PlatformFontUsage<'a>]
Trait Implementations§
Source§impl<'a> Clone for GetPlatformFontsForNodeReturns<'a>
impl<'a> Clone for GetPlatformFontsForNodeReturns<'a>
Source§fn clone(&self) -> GetPlatformFontsForNodeReturns<'a>
fn clone(&self) -> GetPlatformFontsForNodeReturns<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for GetPlatformFontsForNodeReturns<'a>
impl<'a> Debug for GetPlatformFontsForNodeReturns<'a>
Source§impl<'a> Default for GetPlatformFontsForNodeReturns<'a>
impl<'a> Default for GetPlatformFontsForNodeReturns<'a>
Source§fn default() -> GetPlatformFontsForNodeReturns<'a>
fn default() -> GetPlatformFontsForNodeReturns<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for GetPlatformFontsForNodeReturns<'a>
impl<'de, 'a> Deserialize<'de> for GetPlatformFontsForNodeReturns<'a>
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
Auto Trait Implementations§
impl<'a> Freeze for GetPlatformFontsForNodeReturns<'a>
impl<'a> RefUnwindSafe for GetPlatformFontsForNodeReturns<'a>
impl<'a> Send for GetPlatformFontsForNodeReturns<'a>
impl<'a> Sync for GetPlatformFontsForNodeReturns<'a>
impl<'a> Unpin for GetPlatformFontsForNodeReturns<'a>
impl<'a> UnsafeUnpin for GetPlatformFontsForNodeReturns<'a>
impl<'a> UnwindSafe for GetPlatformFontsForNodeReturns<'a>
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