pub struct SourceShape {
pub path: Vec<u32>,
pub element: String,
pub id: u32,
pub title: Option<String>,
pub description: Option<String>,
pub media: Option<MediaKind>,
pub graphic_uri: Option<String>,
pub relationship_ids: Vec<String>,
pub omitted_inlines: Vec<OmittedInline>,
pub children: Vec<SourceShape>,
pub omitted: Vec<OmittedElement>,
}Expand description
Where one modeled shape sits in its part, and the source metadata the model does not keep.
Fields§
§path: Vec<u32>Element-child ordinals from the part’s root element.
element: StringThe element’s qualified name, such as p:sp.
id: u32cNvPr/@id.
title: Option<String>cNvPr/@title.
description: Option<String>cNvPr/@descr.
media: Option<MediaKind>What a picture plays, when it is a media frame.
graphic_uri: Option<String>a:graphicData/@uri of a graphic frame.
relationship_ids: Vec<String>The part’s relationships the element references, in document order; none for a group.
omitted_inlines: Vec<OmittedInline>Paragraph children the model does not represent.
children: Vec<SourceShape>§omitted: Vec<OmittedElement>Children of a group the model does not represent.
Trait Implementations§
Source§impl Clone for SourceShape
impl Clone for SourceShape
Source§impl Debug for SourceShape
impl Debug for SourceShape
Source§impl Default for SourceShape
impl Default for SourceShape
impl Eq for SourceShape
Source§impl PartialEq for SourceShape
impl PartialEq for SourceShape
impl StructuralPartialEq for SourceShape
Auto Trait Implementations§
impl Freeze for SourceShape
impl RefUnwindSafe for SourceShape
impl Send for SourceShape
impl Sync for SourceShape
impl Unpin for SourceShape
impl UnsafeUnpin for SourceShape
impl UnwindSafe for SourceShape
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.