pub struct Shape {Show 20 fields
pub id: ShapeId,
pub name: String,
pub xfrm: Option<Xfrm>,
pub kind: ShapeKind,
pub geom: Geom,
pub ph: Option<Placeholder>,
pub fill: Option<Fill>,
pub line: Option<Line>,
pub effects: Option<Effects>,
pub style: Option<ShapeStyle>,
pub text: Option<TextBody>,
pub hidden: bool,
pub locked: bool,
pub text_box: bool,
pub descr: String,
pub title: String,
pub decorative: bool,
pub click: Option<Hyperlink>,
pub hover: Option<Hyperlink>,
pub raw_ext: Option<String>,
}Fields§
§id: ShapeId§name: String§xfrm: Option<Xfrm>None: placeholder inheriting its box from the layout/master.
kind: ShapeKind§geom: Geom§ph: Option<Placeholder>§fill: Option<Fill>None: inherited (placeholder chain or style); Some(Fill::None): no fill.
line: Option<Line>§effects: Option<Effects>§style: Option<ShapeStyle>§text: Option<TextBody>§locked: bool§text_box: boolText box (txBox="1"): no fill, autosize, wrap off by default.
descr: StringAlt text.
title: String§decorative: bool§click: Option<Hyperlink>§hover: Option<Hyperlink>§raw_ext: Option<String>Unmodelled XML kept for round-trip (extension lists etc.).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Shape
impl<'de> Deserialize<'de> for Shape
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Shape
Auto Trait Implementations§
impl Freeze for Shape
impl RefUnwindSafe for Shape
impl Send for Shape
impl Sync for Shape
impl Unpin for Shape
impl UnsafeUnpin for Shape
impl UnwindSafe for Shape
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