pub struct ExtendedTextProps {
pub size: u32,
pub bold: bool,
pub italic: bool,
pub underline: bool,
pub strikethrough: bool,
pub subscript: bool,
pub superscript: bool,
pub color: Option<String>,
pub highlight: Option<String>,
pub font_family: Option<String>,
}Expand description
Extended text properties for full formatting support
Fields§
§size: u32§bold: bool§italic: bool§underline: bool§strikethrough: bool§subscript: bool§superscript: bool§color: Option<String>§highlight: Option<String>§font_family: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for ExtendedTextProps
impl Clone for ExtendedTextProps
Source§fn clone(&self) -> ExtendedTextProps
fn clone(&self) -> ExtendedTextProps
Returns a duplicate 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 ExtendedTextProps
impl Debug for ExtendedTextProps
Source§impl Default for ExtendedTextProps
impl Default for ExtendedTextProps
Source§fn default() -> ExtendedTextProps
fn default() -> ExtendedTextProps
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExtendedTextProps
impl RefUnwindSafe for ExtendedTextProps
impl Send for ExtendedTextProps
impl Sync for ExtendedTextProps
impl Unpin for ExtendedTextProps
impl UnwindSafe for ExtendedTextProps
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