Struct docx_rust::formatting::PgBorders
source · pub struct PgBorders {
pub z_order: Option<PageBorderZOrder>,
pub display: Option<PageBorderDisplay>,
pub offset_from: Option<PageBorderOffset>,
pub top: Option<PgTopBorder>,
pub left: Option<PgLeftBorder>,
pub bottom: Option<PgBottomBorder>,
pub right: Option<PgRightBorder>,
}Fields§
§z_order: Option<PageBorderZOrder>§display: Option<PageBorderDisplay>§offset_from: Option<PageBorderOffset>§top: Option<PgTopBorder>§left: Option<PgLeftBorder>§bottom: Option<PgBottomBorder>§right: Option<PgRightBorder>Implementations§
source§impl PgBorders
impl PgBorders
pub fn z_order<T: Into<PageBorderZOrder>>(self, value: T) -> Self
pub fn display<T: Into<PageBorderDisplay>>(self, value: T) -> Self
pub fn offset_from<T: Into<PageBorderOffset>>(self, value: T) -> Self
pub fn top<T: Into<PgTopBorder>>(self, value: T) -> Self
pub fn left<T: Into<PgLeftBorder>>(self, value: T) -> Self
pub fn bottom<T: Into<PgBottomBorder>>(self, value: T) -> Self
pub fn right<T: Into<PgRightBorder>>(self, value: T) -> Self
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for PgBorders
impl Send for PgBorders
impl Sync for PgBorders
impl Unpin for PgBorders
impl UnwindSafe for PgBorders
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