[−][src]Struct fontconfig::FontSet
Wrapper around FcFontSet
.
Methods
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> !Send for FontSet<'fc>
impl<'fc> !Sync for FontSet<'fc>
impl<'fc> Unpin for FontSet<'fc>
impl<'fc> UnwindSafe for FontSet<'fc>
impl<'fc> RefUnwindSafe for FontSet<'fc>
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,