Struct docx_rust::formatting::PgLeftBorder
source · pub struct PgLeftBorder {
pub style: Option<BorderStyle>,
pub color: Option<String>,
pub theme_color: Option<ThemeColor>,
pub theme_tint: Option<String>,
pub theme_shade: Option<String>,
pub size: Option<isize>,
pub space: Option<isize>,
pub shadow: Option<bool>,
pub frame: Option<bool>,
}
Fields§
§style: Option<BorderStyle>
§color: Option<String>
§theme_color: Option<ThemeColor>
§theme_tint: Option<String>
§theme_shade: Option<String>
§size: Option<isize>
§space: Option<isize>
§shadow: Option<bool>
§frame: Option<bool>
Implementations§
source§impl PgLeftBorder
impl PgLeftBorder
pub fn style<T: Into<BorderStyle>>(self, value: T) -> Self
pub fn color<T: Into<String>>(self, value: T) -> Self
pub fn theme_color<T: Into<ThemeColor>>(self, value: T) -> Self
pub fn theme_tint<T: Into<String>>(self, value: T) -> Self
pub fn theme_shade<T: Into<String>>(self, value: T) -> Self
pub fn size<T: Into<isize>>(self, value: T) -> Self
pub fn space<T: Into<isize>>(self, value: T) -> Self
pub fn shadow<T: Into<bool>>(self, value: T) -> Self
pub fn frame<T: Into<bool>>(self, value: T) -> Self
Trait Implementations§
source§impl Clone for PgLeftBorder
impl Clone for PgLeftBorder
source§fn clone(&self) -> PgLeftBorder
fn clone(&self) -> PgLeftBorder
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 PgLeftBorder
impl Debug for PgLeftBorder
source§impl Default for PgLeftBorder
impl Default for PgLeftBorder
source§fn default() -> PgLeftBorder
fn default() -> PgLeftBorder
Returns the “default value” for a type. Read more
source§impl<'__input> XmlRead<'__input> for PgLeftBorder
impl<'__input> XmlRead<'__input> for PgLeftBorder
Auto Trait Implementations§
impl RefUnwindSafe for PgLeftBorder
impl Send for PgLeftBorder
impl Sync for PgLeftBorder
impl Unpin for PgLeftBorder
impl UnwindSafe for PgLeftBorder
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