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 from_xml_with_inherited_namespaces(
xml: &[u8],
inherited: &[(String, String)],
) -> Result<Self>
pub fn from_xml_with_inherited_namespaces( xml: &[u8], inherited: &[(String, String)], ) -> Result<Self>
Parses a property fragment in its actual enclosing namespace scope.
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§impl Debug for CT_LineProperties
impl Debug for CT_LineProperties
Source§impl Default for CT_LineProperties
impl Default for CT_LineProperties
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