Enum style::font_metrics::FontMetricsQueryResult
[−]
[src]
pub enum FontMetricsQueryResult { Available(FontMetrics), NotAvailable, }
The result for querying font metrics for a given font family.
Variants
Available(FontMetrics)
The font is available, but we may or may not have found any font metrics for it.
NotAvailable
The font is not available.
Trait Implementations
impl Clone for FontMetricsQueryResult
[src]
fn clone(&self) -> FontMetricsQueryResult
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for FontMetricsQueryResult
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for FontMetricsQueryResult
[src]
fn eq(&self, __arg_0: &FontMetricsQueryResult) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FontMetricsQueryResult) -> bool
[src]
This method tests for !=
.