pub struct TextTokens {
pub size: f32,
pub color: Color,
}Expand description
Renderer-independent text inputs, on Canvas/Surface.
Fields§
§size: f32§color: ColorTrait Implementations§
Source§impl Clone for TextTokens
impl Clone for TextTokens
Source§fn clone(&self) -> TextTokens
fn clone(&self) -> TextTokens
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 TextTokens
impl Debug for TextTokens
Source§impl PartialEq for TextTokens
impl PartialEq for TextTokens
impl Copy for TextTokens
impl StructuralPartialEq for TextTokens
Auto Trait Implementations§
impl Freeze for TextTokens
impl RefUnwindSafe for TextTokens
impl Send for TextTokens
impl Sync for TextTokens
impl Unpin for TextTokens
impl UnwindSafe for TextTokens
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