Trait bitmap_font::WithFont
source · [−]pub trait WithFont: Sized {
fn with_font(self, font: BitmapFont, color: BinaryColor) -> Styled<Self>;
}
Expand description
Style a Text with a font and color.
Required methods
fn with_font(self, font: BitmapFont, color: BinaryColor) -> Styled<Self>
fn with_font(self, font: BitmapFont, color: BinaryColor) -> Styled<Self>
Style this text with a font and color.