Struct pax_message::TextStyleMessage
source · #[repr(C)]pub struct TextStyleMessage {
pub font: Option<FontPatch>,
pub font_size: Option<f64>,
pub fill: Option<ColorMessage>,
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<ColorMessage>
§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 Debug for TextStyleMessage
impl Debug for TextStyleMessage
source§impl Default for TextStyleMessage
impl Default for TextStyleMessage
source§fn default() -> TextStyleMessage
fn default() -> TextStyleMessage
Returns the “default value” for a type. Read more
source§impl PartialEq for TextStyleMessage
impl PartialEq for TextStyleMessage
source§fn eq(&self, other: &TextStyleMessage) -> bool
fn eq(&self, other: &TextStyleMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TextStyleMessage
impl Serialize for TextStyleMessage
impl StructuralPartialEq for TextStyleMessage
Auto Trait Implementations§
impl Freeze for TextStyleMessage
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