pub struct FragmentElement {Show 17 fields
pub content: InlineContent,
pub fmt_font_family: Option<String>,
pub fmt_font_point_size: Option<i64>,
pub fmt_font_weight: Option<i64>,
pub fmt_font_bold: Option<bool>,
pub fmt_font_italic: Option<bool>,
pub fmt_font_underline: Option<bool>,
pub fmt_font_overline: Option<bool>,
pub fmt_font_strikeout: Option<bool>,
pub fmt_letter_spacing: Option<i64>,
pub fmt_word_spacing: Option<i64>,
pub fmt_anchor_href: Option<String>,
pub fmt_anchor_names: Vec<String>,
pub fmt_is_anchor: Option<bool>,
pub fmt_tooltip: Option<String>,
pub fmt_underline_style: Option<UnderlineStyle>,
pub fmt_vertical_alignment: Option<CharVerticalAlignment>,
}Fields§
§content: InlineContent§fmt_font_family: Option<String>§fmt_font_point_size: Option<i64>§fmt_font_weight: Option<i64>§fmt_font_bold: Option<bool>§fmt_font_italic: Option<bool>§fmt_font_underline: Option<bool>§fmt_font_overline: Option<bool>§fmt_font_strikeout: Option<bool>§fmt_letter_spacing: Option<i64>§fmt_word_spacing: Option<i64>§fmt_anchor_href: Option<String>§fmt_anchor_names: Vec<String>§fmt_is_anchor: Option<bool>§fmt_tooltip: Option<String>§fmt_underline_style: Option<UnderlineStyle>§fmt_vertical_alignment: Option<CharVerticalAlignment>Implementations§
Source§impl FragmentElement
impl FragmentElement
pub fn from_entity(e: &InlineElement) -> Self
pub fn to_entity(&self) -> InlineElement
Trait Implementations§
Source§impl Clone for FragmentElement
impl Clone for FragmentElement
Source§fn clone(&self) -> FragmentElement
fn clone(&self) -> FragmentElement
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 FragmentElement
impl Debug for FragmentElement
Source§impl<'de> Deserialize<'de> for FragmentElement
impl<'de> Deserialize<'de> for FragmentElement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FragmentElement
impl RefUnwindSafe for FragmentElement
impl Send for FragmentElement
impl Sync for FragmentElement
impl Unpin for FragmentElement
impl UnsafeUnpin for FragmentElement
impl UnwindSafe for FragmentElement
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