Struct docx_rust::formatting::Justification
source · pub struct Justification {
pub value: JustificationVal,
}Expand description
Justification
use docx_rust::formatting::*;
let jc = Justification::from(JustificationVal::Start);Fields§
§value: JustificationValTrait 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 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