Struct docx_rust::formatting::BetweenBorder
source · [−]pub struct BetweenBorder<'a> {
pub color: Option<Cow<'a, str>>,
pub shadow: Option<bool>,
pub space: Option<usize>,
pub size: Option<usize>,
pub style: Option<BorderStyle>,
}
Fields
color: Option<Cow<'a, str>>
shadow: Option<bool>
space: Option<usize>
size: Option<usize>
style: Option<BorderStyle>
Implementations
sourceimpl<'a> BetweenBorder<'a>
impl<'a> BetweenBorder<'a>
pub fn color<T: Into<Cow<'a, str>>>(self, value: T) -> Self
pub fn shadow<T: Into<bool>>(self, value: T) -> Self
pub fn space<T: Into<usize>>(self, value: T) -> Self
pub fn size<T: Into<usize>>(self, value: T) -> Self
pub fn style<T: Into<BorderStyle>>(self, value: T) -> Self
Trait Implementations
sourceimpl<'a> Clone for BetweenBorder<'a>
impl<'a> Clone for BetweenBorder<'a>
sourcefn clone(&self) -> BetweenBorder<'a>
fn clone(&self) -> BetweenBorder<'a>
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<'a> Debug for BetweenBorder<'a>
impl<'a> Debug for BetweenBorder<'a>
sourceimpl<'a> Default for BetweenBorder<'a>
impl<'a> Default for BetweenBorder<'a>
sourcefn default() -> BetweenBorder<'a>
fn default() -> BetweenBorder<'a>
Returns the “default value” for a type. Read more
sourceimpl<'__input: 'a, 'a> XmlRead<'__input> for BetweenBorder<'a>
impl<'__input: 'a, 'a> XmlRead<'__input> for BetweenBorder<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for BetweenBorder<'a>
impl<'a> Send for BetweenBorder<'a>
impl<'a> Sync for BetweenBorder<'a>
impl<'a> Unpin for BetweenBorder<'a>
impl<'a> UnwindSafe for BetweenBorder<'a>
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