pub struct TextParams {
pub font_size: u16,
pub font_scale: f32,
pub color: Color,
}Fields§
§font_size: u16§font_scale: f32§color: ColorTrait Implementations§
Source§impl Clone for TextParams
impl Clone for TextParams
Source§fn clone(&self) -> TextParams
fn clone(&self) -> TextParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TextParams
impl Debug for TextParams
Source§impl Default for TextParams
impl Default for TextParams
Source§fn default() -> TextParams
fn default() -> TextParams
Returns the “default value” for a type. Read more
impl Copy for TextParams
Auto Trait Implementations§
impl Freeze for TextParams
impl RefUnwindSafe for TextParams
impl Send for TextParams
impl Sync for TextParams
impl Unpin for TextParams
impl UnwindSafe for TextParams
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