[−][src]Struct oox::shared::drawingml::shapedefs::PresetGeometry2D
Fields
preset: ShapeType
Specifies the preset geometry that is used for this shape. This preset can have any of the values in the enumerated list for ShapeType. This attribute is required in order for a preset geometry to be rendered.
Xml example
<p:sp>
<p:nvSpPr>
<p:cNvPr id="4" name="Sun 3"/>
<p:cNvSpPr/>
<p:nvPr/>
</p:nvSpPr>
<p:spPr>
<a:xfrm>
<a:off x="1981200" y="533400"/>
<a:ext cx="1143000" cy="1066800"/>
</a:xfrm>
<a:prstGeom prst="sun">
</a:prstGeom>
</p:spPr>
</p:sp>
In the above example a preset geometry has been used to define a shape. The shape utilized here is the sun shape.
adjust_value_list: Option<GeomGuideList>
Methods
impl PresetGeometry2D
[src]
pub fn from_xml_element(xml_node: &XmlNode) -> Result<Self>
[src]
Trait Implementations
impl Clone for PresetGeometry2D
[src]
fn clone(&self) -> PresetGeometry2D
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PresetGeometry2D
[src]
impl PartialEq<PresetGeometry2D> for PresetGeometry2D
[src]
fn eq(&self, other: &PresetGeometry2D) -> bool
[src]
fn ne(&self, other: &PresetGeometry2D) -> bool
[src]
impl StructuralPartialEq for PresetGeometry2D
[src]
Auto Trait Implementations
impl RefUnwindSafe for PresetGeometry2D
impl Send for PresetGeometry2D
impl Sync for PresetGeometry2D
impl Unpin for PresetGeometry2D
impl UnwindSafe for PresetGeometry2D
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,