pub struct GetPlatformFontsForNodeReturnObjectBuilder { /* private fields */ }Expand description
Builder for GetPlatformFontsForNodeReturnObject.
Implementations§
Source§impl GetPlatformFontsForNodeReturnObjectBuilder
impl GetPlatformFontsForNodeReturnObjectBuilder
Sourcepub fn fonts(&mut self, value: Vec<PlatformFontUsage>) -> &mut Self
pub fn fonts(&mut self, value: Vec<PlatformFontUsage>) -> &mut Self
Usage statistics for every employed platform font.
Sourcepub fn build(
&self,
) -> Result<GetPlatformFontsForNodeReturnObject, GetPlatformFontsForNodeReturnObjectBuilderError>
pub fn build( &self, ) -> Result<GetPlatformFontsForNodeReturnObject, GetPlatformFontsForNodeReturnObjectBuilderError>
Builds a new GetPlatformFontsForNodeReturnObject.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for GetPlatformFontsForNodeReturnObjectBuilder
impl Clone for GetPlatformFontsForNodeReturnObjectBuilder
Source§fn clone(&self) -> GetPlatformFontsForNodeReturnObjectBuilder
fn clone(&self) -> GetPlatformFontsForNodeReturnObjectBuilder
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 moreAuto Trait Implementations§
impl Freeze for GetPlatformFontsForNodeReturnObjectBuilder
impl RefUnwindSafe for GetPlatformFontsForNodeReturnObjectBuilder
impl Send for GetPlatformFontsForNodeReturnObjectBuilder
impl Sync for GetPlatformFontsForNodeReturnObjectBuilder
impl Unpin for GetPlatformFontsForNodeReturnObjectBuilder
impl UnsafeUnpin for GetPlatformFontsForNodeReturnObjectBuilder
impl UnwindSafe for GetPlatformFontsForNodeReturnObjectBuilder
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