Struct radiant_rs::support::FontQueryBuilder
[−]
[src]
#[must_use]pub struct FontQueryBuilder { /* fields omitted */ }
A FontQueryBuilder builder, returned from Font::query().
Methods
impl FontQueryBuilder
[src]
fn family(self, family: &str) -> Self
[src]
Sets a family for the Fonts.
fn italic(self) -> Self
[src]
Flags the Fonts to be italic.
fn oblique(self) -> Self
[src]
Flags the Fonts to be oblique.
fn monospace(self) -> Self
[src]
Flags the Fonts to be monospace.
fn fetch(self) -> Vec<String>
[src]
Returns a vector of matching font families.
Trait Implementations
impl Clone for FontQueryBuilder
[src]
fn clone(&self) -> FontQueryBuilder
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more