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: 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.