Struct fontconfig_parser::Document[][src]

pub struct Document<'a> {
    pub description: &'a str,
    pub select_fonts: Vec<SelectFont<'a>>,
    pub dirs: Vec<Dir<'a>>,
    pub cache_dirs: Vec<CacheDir<'a>>,
    pub includes: Vec<Include<'a>>,
    pub matches: Vec<Match<'a>>,
    pub config: Config,
}
Expand description

https://www.freedesktop.org/software/fontconfig/fontconfig-user.html

Fields

description: &'a strselect_fonts: Vec<SelectFont<'a>>dirs: Vec<Dir<'a>>cache_dirs: Vec<CacheDir<'a>>includes: Vec<Include<'a>>matches: Vec<Match<'a>>config: Config

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.