pub struct InfoDetails {
pub bold: u32,
pub italic: u32,
pub charset: String,
pub unicode: u32,
pub stretch_h: u32,
pub smooth: u32,
pub aa: u32,
pub padding: [u32; 4],
pub spacing: [u32; 2],
pub outline: u32,
}
Some details from the info block
height-stretch of the font
1 if smoothing was turned on
Supersampling level used. 1 means no supersampling
Padding for each character [up, right, down, left]
Spacing for each character [horizontal, vertical]
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
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
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)