Struct docx_rust::formatting::Justification
source · [−]pub struct Justification {
pub value: JustificationVal,
}
Expand description
Justification
use docx::formatting::*;
let jc = Justification::from(JustificationVal::Start);
Fields
value: JustificationVal
Trait Implementations
sourceimpl Clone for Justification
impl Clone for Justification
sourcefn clone(&self) -> Justification
fn clone(&self) -> Justification
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 Justification
impl Debug for Justification
sourceimpl From<JustificationVal> for Justification
impl From<JustificationVal> for Justification
sourcefn from(value: JustificationVal) -> Self
fn from(value: JustificationVal) -> Self
Converts to this type from the input type.
sourceimpl<'__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
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