pub struct Section {
pub name: String,
pub slide_ids: Vec<u32>,
}Expand description
单个章节(<p14:section>)。
一个 section 由 name 与若干 slide id 组成。
slide id 必须已存在于 <p:sldIdLst> 中——section 只是按 id 把它们
“逻辑分组”,并不持有额外的关系。
Fields§
§name: String章节名(name 属性,必填)。
slide_ids: Vec<u32>归入本章节的 slide id 列表(<p14:sldId id="..."/>)。
这里的 id 与 <p:sldIdLst>/<p:sldId> 的 id 同源——
由 Presentation 在写路径中分配(一般从 256 起递增)。
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Section
impl RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnsafeUnpin for Section
impl UnwindSafe for Section
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