pub struct CT_BorderEdge {
pub val: ST_Border,
pub sz: Option<u32>,
pub space: Option<u32>,
pub color: Option<String>,
}Expand description
A single border edge (top, bottom, left, right, between).
Fields§
§val: ST_BorderBorder style
sz: Option<u32>Border width in eighths of a point
space: Option<u32>Space between border and content in points
color: Option<String>Border color as hex, e.g. “FF0000”
Implementations§
Source§impl CT_BorderEdge
impl CT_BorderEdge
pub fn new(val: ST_Border) -> Self
pub fn from_xml_attrs(e: &BytesStart<'_>) -> Result<Self>
pub fn write_xml_attrs(&self, e: &mut BytesStart<'_>)
Trait Implementations§
Source§impl Clone for CT_BorderEdge
impl Clone for CT_BorderEdge
Source§fn clone(&self) -> CT_BorderEdge
fn clone(&self) -> CT_BorderEdge
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CT_BorderEdge
impl Debug for CT_BorderEdge
Source§impl PartialEq for CT_BorderEdge
impl PartialEq for CT_BorderEdge
impl StructuralPartialEq for CT_BorderEdge
Auto Trait Implementations§
impl Freeze for CT_BorderEdge
impl RefUnwindSafe for CT_BorderEdge
impl Send for CT_BorderEdge
impl Sync for CT_BorderEdge
impl Unpin for CT_BorderEdge
impl UnsafeUnpin for CT_BorderEdge
impl UnwindSafe for CT_BorderEdge
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