pub struct NumberingProperty {
pub id: Option<NumberingId>,
pub level: Option<IndentLevel>,
}
Fields§
§id: Option<NumberingId>
§level: Option<IndentLevel>
Implementations§
Source§impl NumberingProperty
impl NumberingProperty
pub fn new() -> NumberingProperty
pub fn id(self, id: NumberingId) -> NumberingProperty
pub fn add_num(self, id: NumberingId, level: IndentLevel) -> NumberingProperty
Trait Implementations§
Source§impl Clone for NumberingProperty
impl Clone for NumberingProperty
Source§fn clone(&self) -> NumberingProperty
fn clone(&self) -> NumberingProperty
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 NumberingProperty
impl Debug for NumberingProperty
Source§impl Default for NumberingProperty
impl Default for NumberingProperty
Source§impl ElementReader for NumberingProperty
impl ElementReader for NumberingProperty
fn read<R: Read>( r: &mut EventReader<R>, _attrs: &[OwnedAttribute], ) -> Result<Self, ReaderError>
Source§impl PartialEq for NumberingProperty
impl PartialEq for NumberingProperty
Source§impl Serialize for NumberingProperty
impl Serialize for NumberingProperty
impl StructuralPartialEq for NumberingProperty
Auto Trait Implementations§
impl Freeze for NumberingProperty
impl RefUnwindSafe for NumberingProperty
impl Send for NumberingProperty
impl Sync for NumberingProperty
impl Unpin for NumberingProperty
impl UnwindSafe for NumberingProperty
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