pub struct ParagraphStyle {
pub style_id: Option<String>,
pub outline_lvl: Option<isize>,
pub numbering: Option<MarkdownNumbering>,
pub page_break_before: Option<bool>,
pub style: Option<BlockStyle>,
}
Fields§
§style_id: Option<String>
§outline_lvl: Option<isize>
§numbering: Option<MarkdownNumbering>
§page_break_before: Option<bool>
§style: Option<BlockStyle>
Implementations§
Source§impl ParagraphStyle
impl ParagraphStyle
pub fn new() -> Self
pub fn combine_with(&mut self, other: &ParagraphStyle)
Trait Implementations§
Source§impl Clone for ParagraphStyle
impl Clone for ParagraphStyle
Source§fn clone(&self) -> ParagraphStyle
fn clone(&self) -> ParagraphStyle
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 ParagraphStyle
impl Debug for ParagraphStyle
Source§impl Default for ParagraphStyle
impl Default for ParagraphStyle
Source§fn default() -> ParagraphStyle
fn default() -> ParagraphStyle
Returns the “default value” for a type. Read more
Source§impl<'a> From<&'a ParagraphProperty<'a>> for ParagraphStyle
impl<'a> From<&'a ParagraphProperty<'a>> for ParagraphStyle
Source§fn from(paragraph_property: &'a ParagraphProperty<'_>) -> Self
fn from(paragraph_property: &'a ParagraphProperty<'_>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParagraphStyle
impl RefUnwindSafe for ParagraphStyle
impl Send for ParagraphStyle
impl Sync for ParagraphStyle
impl Unpin for ParagraphStyle
impl UnwindSafe for ParagraphStyle
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