Struct docx_rust::formatting::NumberingProperty
source · [−]pub struct NumberingProperty {
pub id: NumberingId,
pub level: IndentLevel,
}
Expand description
Numbering Property
use docx::formatting::*;
let prop = NumberingProperty::from((20, 40));
Fields
id: NumberingId
Specifies a reference to a numbering definition instance
level: IndentLevel
Specifies the numbering level of the numbering definition to use for the paragraph.
Trait Implementations
sourceimpl Clone for NumberingProperty
impl Clone for NumberingProperty
sourcefn clone(&self) -> NumberingProperty
fn clone(&self) -> NumberingProperty
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NumberingProperty
impl Debug for NumberingProperty
sourceimpl Default for NumberingProperty
impl Default for NumberingProperty
sourcefn default() -> NumberingProperty
fn default() -> NumberingProperty
Returns the “default value” for a type. Read more
sourceimpl From<(usize, usize)> for NumberingProperty
impl From<(usize, usize)> for NumberingProperty
sourceimpl<'__input> XmlRead<'__input> for NumberingProperty
impl<'__input> XmlRead<'__input> for NumberingProperty
Auto Trait Implementations
impl RefUnwindSafe for NumberingProperty
impl Send for NumberingProperty
impl Sync for NumberingProperty
impl Unpin for NumberingProperty
impl UnwindSafe for NumberingProperty
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more