Skip to main content

TaggedFontValue

Trait TaggedFontValue 

Source
pub trait TaggedFontValue {
    // Required method
    fn tag(&self) -> FontTag;
}
Expand description

A trait for values that are labelled with a FontTag (for feature and variation settings).

Required Methods§

Source

fn tag(&self) -> FontTag

The value’s tag.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§