pub struct ExtensionList {
pub entries: Vec<ExtensionEntry>,
}Expand description
扩展列表(<p:extLst>)。
OOXML 中“扩展“是 PowerPoint 用来存放私有属性 / future 兼容字段的地方, 大多数“插入 → 背景效果“ 等 UI 操作都会在 extLst 写一条 Microsoft 私有 扩展。只要形状被 UI 触碰过,extLst 就很可能非空。
§与 python-pptx 的对应
python-pptx 中 CT_Shape / CT_GroupShape / CT_GraphicalObjectFrame
都有 ext_lst 属性;本库同等暴露。
Fields§
§entries: Vec<ExtensionEntry>扩展条目。每个条目包含 uri(必填)和原始 XML 字符串。
Implementations§
Trait Implementations§
Source§impl Clone for ExtensionList
impl Clone for ExtensionList
Source§fn clone(&self) -> ExtensionList
fn clone(&self) -> ExtensionList
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExtensionList
impl Debug for ExtensionList
Source§impl Default for ExtensionList
impl Default for ExtensionList
Source§fn default() -> ExtensionList
fn default() -> ExtensionList
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExtensionList
impl RefUnwindSafe for ExtensionList
impl Send for ExtensionList
impl Sync for ExtensionList
impl Unpin for ExtensionList
impl UnsafeUnpin for ExtensionList
impl UnwindSafe for ExtensionList
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