pub struct ParaProps {Show 18 fields
pub align: Option<Align>,
pub margin_left: Option<f64>,
pub margin_right: Option<f64>,
pub indent: Option<f64>,
pub line_spacing: Option<Spacing>,
pub space_before: Option<Spacing>,
pub space_after: Option<Spacing>,
pub bullet: Option<Bullet>,
pub bullet_font: Option<String>,
pub bullet_color: Option<ColorRef>,
pub bullet_size: Option<f64>,
pub tabs: Option<Vec<TabStop>>,
pub default_tab: Option<f64>,
pub rtl: Option<bool>,
pub font_align: Option<String>,
pub east_asian_line_break: Option<bool>,
pub latin_line_break: Option<bool>,
pub hanging_punct: Option<bool>,
}Fields§
§align: Option<Align>§margin_left: Option<f64>Left margin (points).
margin_right: Option<f64>§indent: Option<f64>First-line indent relative to the margin (negative = hanging).
line_spacing: Option<Spacing>§space_before: Option<Spacing>§space_after: Option<Spacing>§bullet: Option<Bullet>§bullet_font: Option<String>§bullet_color: Option<ColorRef>None = follow text colour.
bullet_size: Option<f64>Bullet size as a fraction of the text size.
tabs: Option<Vec<TabStop>>§default_tab: Option<f64>§rtl: Option<bool>§font_align: Option<String>§east_asian_line_break: Option<bool>§latin_line_break: Option<bool>latinLnBrk: Latin words may break inside (after /, \); off by default.
hanging_punct: Option<bool>hangingPunct: closing East Asian punctuation may hang past the end of a line.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ParaProps
impl<'de> Deserialize<'de> for ParaProps
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
impl StructuralPartialEq for ParaProps
Auto Trait Implementations§
impl Freeze for ParaProps
impl RefUnwindSafe for ParaProps
impl Send for ParaProps
impl Sync for ParaProps
impl Unpin for ParaProps
impl UnsafeUnpin for ParaProps
impl UnwindSafe for ParaProps
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