pub struct ParagraphProperties {Show 13 fields
pub alignment: Option<String>,
pub level: u32,
pub margin_left: Option<i64>,
pub margin_right: Option<i64>,
pub indent: Option<i64>,
pub bullet: Option<Bullet>,
pub line_spacing: Option<LineSpacing>,
pub space_before: Option<LineSpacing>,
pub space_after: Option<LineSpacing>,
pub bullet_font: Option<BulletFont>,
pub bullet_color: Option<BulletColor>,
pub bullet_size: Option<BulletSize>,
pub default_run: Option<RunProperties>,
}Fields§
§alignment: Option<String>§level: u32§margin_left: Option<i64>§margin_right: Option<i64>§indent: Option<i64>§bullet: Option<Bullet>§line_spacing: Option<LineSpacing>§space_before: Option<LineSpacing>§space_after: Option<LineSpacing>§bullet_font: Option<BulletFont>§bullet_color: Option<BulletColor>§bullet_size: Option<BulletSize>§default_run: Option<RunProperties>Trait Implementations§
Source§impl Clone for ParagraphProperties
impl Clone for ParagraphProperties
Source§fn clone(&self) -> ParagraphProperties
fn clone(&self) -> ParagraphProperties
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ParagraphProperties
impl Debug for ParagraphProperties
Source§impl Default for ParagraphProperties
impl Default for ParagraphProperties
Source§fn default() -> ParagraphProperties
fn default() -> ParagraphProperties
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ParagraphProperties
impl<'de> Deserialize<'de> for ParagraphProperties
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
Source§impl PartialEq for ParagraphProperties
impl PartialEq for ParagraphProperties
Source§impl Serialize for ParagraphProperties
impl Serialize for ParagraphProperties
impl StructuralPartialEq for ParagraphProperties
Auto Trait Implementations§
impl Freeze for ParagraphProperties
impl RefUnwindSafe for ParagraphProperties
impl Send for ParagraphProperties
impl Sync for ParagraphProperties
impl Unpin for ParagraphProperties
impl UnsafeUnpin for ParagraphProperties
impl UnwindSafe for ParagraphProperties
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