Enum style::font_metrics::FontMetricsQueryResult [] [src]

pub enum FontMetricsQueryResult {
    Available(FontMetrics),
    NotAvailable,
}

The result for querying font metrics for a given font family.

Variants

The font is available, but we may or may not have found any font metrics for it.

The font is not available.

Trait Implementations

impl Clone for FontMetricsQueryResult
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for FontMetricsQueryResult
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for FontMetricsQueryResult
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.