pub struct InlineTextStyle {
pub font_family: AtomId,
pub font_size: f32,
pub font_weight: FontWeight,
pub font_style: FontStyle,
pub color: Color,
pub background_color: Option<Color>,
pub text_decoration: TextDecoration,
pub vertical_align: VerticalAlignment,
pub letter_spacing: f32,
pub line_height: Option<f32>,
pub is_monospace: bool,
pub href: Option<String>,
}Expand description
Typographic styling applied to an individual inline text run within an IFC.
Fields§
§font_family: AtomId§font_size: f32§font_weight: FontWeight§font_style: FontStyle§color: Color§background_color: Option<Color>§text_decoration: TextDecoration§vertical_align: VerticalAlignment§letter_spacing: f32§line_height: Option<f32>§is_monospace: bool§href: Option<String>Trait Implementations§
Source§impl Clone for InlineTextStyle
impl Clone for InlineTextStyle
Source§impl Debug for InlineTextStyle
impl Debug for InlineTextStyle
Source§impl Default for InlineTextStyle
impl Default for InlineTextStyle
Source§impl PartialEq for InlineTextStyle
impl PartialEq for InlineTextStyle
impl StructuralPartialEq for InlineTextStyle
Auto Trait Implementations§
impl Forget for InlineTextStyle
impl Freeze for InlineTextStyle
impl Move for InlineTextStyle
impl RefUnwindSafe for InlineTextStyle
impl Send for InlineTextStyle
impl Sync for InlineTextStyle
impl Unpin for InlineTextStyle
impl UnsafeUnpin for InlineTextStyle
impl UnwindSafe for InlineTextStyle
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