Struct docx_rust::formatting::TextAlignment
source · pub struct TextAlignment {
pub val: Option<TextAlignmentType>,
}Fields§
§val: Option<TextAlignmentType>Implementations§
source§impl TextAlignment
impl TextAlignment
pub fn val<T: Into<TextAlignmentType>>(self, value: T) -> Self
Trait Implementations§
source§impl Clone for TextAlignment
impl Clone for TextAlignment
source§fn clone(&self) -> TextAlignment
fn clone(&self) -> TextAlignment
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 TextAlignment
impl Debug for TextAlignment
source§impl Default for TextAlignment
impl Default for TextAlignment
source§fn default() -> TextAlignment
fn default() -> TextAlignment
Returns the “default value” for a type. Read more
source§impl<'__input> XmlRead<'__input> for TextAlignment
impl<'__input> XmlRead<'__input> for TextAlignment
Auto Trait Implementations§
impl RefUnwindSafe for TextAlignment
impl Send for TextAlignment
impl Sync for TextAlignment
impl Unpin for TextAlignment
impl UnwindSafe for TextAlignment
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