Struct pax_message::TextStyleMessage
source · #[repr(C)]pub struct TextStyleMessage {
pub font: Option<FontPatch>,
pub font_size: Option<f64>,
pub fill: Option<ColorVariantMessage>,
pub underline: Option<bool>,
pub align_multiline: Option<TextAlignHorizontalMessage>,
pub align_vertical: Option<TextAlignVerticalMessage>,
pub align_horizontal: Option<TextAlignHorizontalMessage>,
}Fields§
§font: Option<FontPatch>§font_size: Option<f64>§fill: Option<ColorVariantMessage>§underline: Option<bool>§align_multiline: Option<TextAlignHorizontalMessage>§align_vertical: Option<TextAlignVerticalMessage>§align_horizontal: Option<TextAlignHorizontalMessage>Trait Implementations§
source§impl Clone for TextStyleMessage
impl Clone for TextStyleMessage
source§fn clone(&self) -> TextStyleMessage
fn clone(&self) -> TextStyleMessage
Returns a copy 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 Default for TextStyleMessage
impl Default for TextStyleMessage
source§fn default() -> TextStyleMessage
fn default() -> TextStyleMessage
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for TextStyleMessage
impl Send for TextStyleMessage
impl Sync for TextStyleMessage
impl Unpin for TextStyleMessage
impl UnwindSafe for TextStyleMessage
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