[][src]Struct docx_rs::ParagraphProperty

pub struct ParagraphProperty {
    pub run_property: RunProperty,
    pub style: ParagraphStyle,
    pub numbering_property: Option<NumberingProperty>,
    pub alignment: Option<Justification>,
    pub indent: Option<Indent>,
}

Fields

run_property: RunPropertystyle: ParagraphStylenumbering_property: Option<NumberingProperty>alignment: Option<Justification>indent: Option<Indent>

Methods

impl ParagraphProperty[src]

pub fn new() -> ParagraphProperty[src]

pub fn align(self, alignment_type: AlignmentType) -> Self[src]

pub fn style(self, style_id: &str) -> Self[src]

pub fn indent(
    self,
    left: Option<i32>,
    special_indent: Option<SpecialIndentType>,
    end: Option<i32>,
    start_chars: Option<i32>
) -> Self
[src]

pub fn numbering(self, id: NumberingId, level: IndentLevel) -> Self[src]

Trait Implementations

impl Clone for ParagraphProperty[src]

impl Debug for ParagraphProperty[src]

impl Default for ParagraphProperty[src]

impl PartialEq<ParagraphProperty> for ParagraphProperty[src]

impl Serialize for ParagraphProperty[src]

impl StructuralPartialEq for ParagraphProperty[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.