pub struct SetFontFamiliesBuilder { /* private fields */ }Implementations§
Source§impl SetFontFamiliesBuilder
impl SetFontFamiliesBuilder
pub fn font_families(self, font_families: impl Into<FontFamilies>) -> Self
pub fn for_script(self, for_script: impl Into<ScriptFontFamilies>) -> Self
pub fn for_scripts<I, S>(self, for_scripts: I) -> Self
pub fn build(self) -> Result<SetFontFamilies, String>
Trait Implementations§
Source§impl Clone for SetFontFamiliesBuilder
impl Clone for SetFontFamiliesBuilder
Source§fn clone(&self) -> SetFontFamiliesBuilder
fn clone(&self) -> SetFontFamiliesBuilder
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 Default for SetFontFamiliesBuilder
impl Default for SetFontFamiliesBuilder
Source§fn default() -> SetFontFamiliesBuilder
fn default() -> SetFontFamiliesBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SetFontFamiliesBuilder
impl RefUnwindSafe for SetFontFamiliesBuilder
impl Send for SetFontFamiliesBuilder
impl Sync for SetFontFamiliesBuilder
impl Unpin for SetFontFamiliesBuilder
impl UnsafeUnpin for SetFontFamiliesBuilder
impl UnwindSafe for SetFontFamiliesBuilder
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