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