pub enum Content {
Text(TextBody),
Picture(Picture),
Group(Vec<Shape>, Option<ChildSpace>),
Table(Table),
Chart(Option<String>),
Diagram(Option<String>),
Ole(OleObject),
Connector,
ContentPart(Option<String>),
UnknownGraphic(String),
}Expand description
What a shape holds.
Variants§
Text(TextBody)
p:sp: possibly with a text body; empty when the shape has none.
Picture(Picture)
p:pic.
Group(Vec<Shape>, Option<ChildSpace>)
p:grpSp: children in z-order, and the group’s child coordinate space.
Table(Table)
p:graphicFrame holding a:tbl.
Chart(Option<String>)
p:graphicFrame holding c:chart, with its relationship id.
Diagram(Option<String>)
p:graphicFrame holding a diagram, with the diagram data relationship id.
Ole(OleObject)
p:graphicFrame holding p:oleObj.
Connector
p:cxnSp: a connector; no content.
ContentPart(Option<String>)
p:contentPart with its relationship id.
UnknownGraphic(String)
A p:graphicFrame whose graphicData URI the reader does not know.
Trait Implementations§
impl Eq for Content
impl StructuralPartialEq for Content
Auto Trait Implementations§
impl Freeze for Content
impl RefUnwindSafe for Content
impl Send for Content
impl Sync for Content
impl Unpin for Content
impl UnsafeUnpin for Content
impl UnwindSafe for Content
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