pub struct CT_LineProperties {
pub width: Option<u32>,
pub cap: Option<LineCap>,
pub fill: Option<Fill>,
pub dash: Option<LineDash>,
pub join: Option<LineJoin>,
pub head_end: Option<LineEnd>,
pub tail_end: Option<LineEnd>,
/* private fields */
}Expand description
DrawingML a:ln properties.
Fields§
§width: Option<u32>§cap: Option<LineCap>§fill: Option<Fill>§dash: Option<LineDash>§join: Option<LineJoin>§head_end: Option<LineEnd>§tail_end: Option<LineEnd>Implementations§
Source§impl CT_LineProperties
impl CT_LineProperties
Sourcepub fn from_xml(xml: &[u8]) -> Result<Self>
pub fn from_xml(xml: &[u8]) -> Result<Self>
Parses one complete a:ln element with any namespace prefix.
Sourcepub fn to_xml(&self) -> Result<Vec<u8>>
pub fn to_xml(&self) -> Result<Vec<u8>>
Writes this line with canonical DrawingML prefixes and schema order.
Sourcepub fn write_xml<W: Write>(&self, writer: &mut Writer<W>) -> Result<()>
pub fn write_xml<W: Write>(&self, writer: &mut Writer<W>) -> Result<()>
Writes this line into an existing XML writer.
pub fn raw_children(&self) -> &OrderedRawChildren
Trait Implementations§
Source§impl Clone for CT_LineProperties
impl Clone for CT_LineProperties
Source§fn clone(&self) -> CT_LineProperties
fn clone(&self) -> CT_LineProperties
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_LineProperties
impl Debug for CT_LineProperties
Source§impl Default for CT_LineProperties
impl Default for CT_LineProperties
Source§fn default() -> CT_LineProperties
fn default() -> CT_LineProperties
Returns the “default value” for a type. Read more
impl Eq for CT_LineProperties
Source§impl PartialEq for CT_LineProperties
impl PartialEq for CT_LineProperties
impl StructuralPartialEq for CT_LineProperties
Auto Trait Implementations§
impl Freeze for CT_LineProperties
impl RefUnwindSafe for CT_LineProperties
impl Send for CT_LineProperties
impl Sync for CT_LineProperties
impl Unpin for CT_LineProperties
impl UnsafeUnpin for CT_LineProperties
impl UnwindSafe for CT_LineProperties
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