pub struct Appearance {
pub font_name: Vec<u8>,
pub size: f32,
pub color: Color,
}Expand description
The resource name and size a Tf names, and the colour a g/rg/k
does.
Fields§
§font_name: Vec<u8>The font resource name.
size: f32The size, zero meaning “choose one”.
color: ColorThe text colour, transparent when the string names none.
Trait Implementations§
Source§impl Clone for Appearance
impl Clone for Appearance
Source§impl Debug for Appearance
impl Debug for Appearance
Source§impl PartialEq for Appearance
impl PartialEq for Appearance
impl StructuralPartialEq for Appearance
Auto Trait Implementations§
impl Freeze for Appearance
impl RefUnwindSafe for Appearance
impl Send for Appearance
impl Sync for Appearance
impl Unpin for Appearance
impl UnsafeUnpin for Appearance
impl UnwindSafe for Appearance
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more