Struct fontconfig::FontSet [−][src]
pub struct FontSet<'fc> { /* fields omitted */ }
Wrapper around FcFontSet
.
Implementations
impl<'fc> FontSet<'fc>
[src]
impl<'fc> FontSet<'fc>
[src]pub fn new(fc: &Fontconfig) -> FontSet<'_>
[src]
Create a new, empty FontSet
.
pub fn from_raw(fc: &Fontconfig, raw_set: *mut FcFontSet) -> FontSet<'_>
[src]
Wrap an existing FcFontSet
.
This returned wrapper assumes ownership of the FcFontSet
.
pub fn add_pattern(&mut self, pat: Pattern<'_>)
[src]
Add a Pattern
to this FontSet
.
pub fn print(&self)
[src]
Print this FontSet
to stdout.
pub fn iter(&self) -> impl Iterator<Item = Pattern<'_>>
[src]
Iterate the fonts (as Patterns
) in this FontSet
.
Trait Implementations
Auto Trait Implementations
impl<'fc> RefUnwindSafe for FontSet<'fc>
impl<'fc> RefUnwindSafe for FontSet<'fc>
impl<'fc> UnwindSafe for FontSet<'fc>
impl<'fc> UnwindSafe for FontSet<'fc>