Struct flo_canvas::FontId [−][src]
pub struct FontId(pub u64);
Expand description
Identifier for a font
Fonts can be used to render text: they need to be pre-loaded and are removed from the canvas by
Draw::ClearCanvas
Tuple Fields
0: u64Trait Implementations
Encodes this item by appending it to the specified string Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for FontId
impl UnwindSafe for FontId
Blanket Implementations
Mutably borrows from an owned value. Read more