pub struct TextConfigStylePair {
pub config: TextConfig,
pub style: TextStyle,
}Expand description
Pair of text metrics config and style.
Fields§
§config: TextConfigText metrics config.
style: TextStyleText style/color.
Trait Implementations§
Source§impl Clone for TextConfigStylePair
impl Clone for TextConfigStylePair
Source§fn clone(&self) -> TextConfigStylePair
fn clone(&self) -> TextConfigStylePair
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TextConfigStylePair
Source§impl Debug for TextConfigStylePair
impl Debug for TextConfigStylePair
Source§impl Default for TextConfigStylePair
impl Default for TextConfigStylePair
Source§fn default() -> TextConfigStylePair
fn default() -> TextConfigStylePair
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TextConfigStylePair
impl RefUnwindSafe for TextConfigStylePair
impl Send for TextConfigStylePair
impl Sync for TextConfigStylePair
impl Unpin for TextConfigStylePair
impl UnsafeUnpin for TextConfigStylePair
impl UnwindSafe for TextConfigStylePair
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<H, TailTarget, Source, Idx> Embed<RenderTList<H, TailTarget>, There<Idx>> for Sourcewhere
TailTarget: IsRenderList,
Source: Embed<TailTarget, Idx>,
impl<H, TailTarget, Source, Idx> Embed<RenderTList<H, TailTarget>, There<Idx>> for Sourcewhere
TailTarget: IsRenderList,
Source: Embed<TailTarget, Idx>,
Source§fn embed(self) -> RenderTList<H, TailTarget>
fn embed(self) -> RenderTList<H, TailTarget>
Converts
self into Target.