#[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>,
}Expand description
Serializable text style payload shared with chassis text renderers.
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§impl Debug for TextStyleMessage
impl Debug for TextStyleMessage
Source§impl Default for TextStyleMessage
impl Default for TextStyleMessage
Source§impl PartialEq for TextStyleMessage
impl PartialEq for TextStyleMessage
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 UnsafeUnpin 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