pub struct TextExtraStyle {
pub text_direction: TextDirection,
pub font_synthesis: FontSynthesis,
pub baseline_shift: BaselineShift,
pub draw_style: DrawStyle,
}Expand description
Rarely-tweaked text style properties bundled for ergonomic Default.
Fields§
§text_direction: TextDirection§font_synthesis: FontSynthesis§baseline_shift: BaselineShift§draw_style: DrawStyleTrait Implementations§
Source§impl Clone for TextExtraStyle
impl Clone for TextExtraStyle
Source§fn clone(&self) -> TextExtraStyle
fn clone(&self) -> TextExtraStyle
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 moreSource§impl Debug for TextExtraStyle
impl Debug for TextExtraStyle
Source§impl Default for TextExtraStyle
impl Default for TextExtraStyle
Source§impl PartialEq for TextExtraStyle
impl PartialEq for TextExtraStyle
Source§fn eq(&self, other: &TextExtraStyle) -> bool
fn eq(&self, other: &TextExtraStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TextExtraStyle
Auto Trait Implementations§
impl Freeze for TextExtraStyle
impl RefUnwindSafe for TextExtraStyle
impl Send for TextExtraStyle
impl Sync for TextExtraStyle
impl Unpin for TextExtraStyle
impl UnsafeUnpin for TextExtraStyle
impl UnwindSafe for TextExtraStyle
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