pub struct TextFormat {
pub anchor_href: Option<String>,
pub anchor_names: Option<Vec<String>>,
pub is_anchor: Option<bool>,
pub font: Font,
pub tool_tip: Option<String>,
pub underline_style: Option<UnderlineStyle>,
pub vertical_alignment: Option<CharVerticalAlignment>,
}
Fields§
§anchor_href: Option<String>
§anchor_names: Option<Vec<String>>
§is_anchor: Option<bool>
§font: Font
§tool_tip: Option<String>
§underline_style: Option<UnderlineStyle>
§vertical_alignment: Option<CharVerticalAlignment>
Implementations§
Source§impl TextFormat
impl TextFormat
Trait Implementations§
Source§impl Clone for TextFormat
impl Clone for TextFormat
Source§fn clone(&self) -> TextFormat
fn clone(&self) -> TextFormat
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 TextFormat
impl Debug for TextFormat
Source§impl Default for TextFormat
impl Default for TextFormat
Source§fn default() -> TextFormat
fn default() -> TextFormat
Returns the “default value” for a type. Read more
Source§impl Deref for TextFormat
impl Deref for TextFormat
Source§impl DerefMut for TextFormat
impl DerefMut for TextFormat
Source§impl PartialEq for TextFormat
impl PartialEq for TextFormat
impl Eq for TextFormat
impl StructuralPartialEq for TextFormat
Auto Trait Implementations§
impl Freeze for TextFormat
impl RefUnwindSafe for TextFormat
impl Send for TextFormat
impl Sync for TextFormat
impl Unpin for TextFormat
impl UnwindSafe for TextFormat
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