pub struct Justification {
pub value: JustificationVal,
}
Expand description
Justification
use docx_rust::formatting::*;
let jc = Justification::from(JustificationVal::Start);
Fields§
§value: JustificationVal
Trait Implementations§
Source§impl Clone for Justification
impl Clone for Justification
Source§fn clone(&self) -> Justification
fn clone(&self) -> Justification
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 Justification
impl Debug for Justification
Source§impl From<JustificationVal> for Justification
impl From<JustificationVal> for Justification
Source§fn from(value: JustificationVal) -> Self
fn from(value: JustificationVal) -> Self
Converts to this type from the input type.
Source§impl<'__input> XmlRead<'__input> for Justification
impl<'__input> XmlRead<'__input> for Justification
Auto Trait Implementations§
impl Freeze for Justification
impl RefUnwindSafe for Justification
impl Send for Justification
impl Sync for Justification
impl Unpin for Justification
impl UnwindSafe for Justification
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