pub struct Presentation {
pub slides: Vec<SlideId>,
pub sections: Vec<Section>,
pub masters: Vec<MasterId>,
pub notes_master: Option<String>,
pub handout_master: Option<String>,
pub slide_size: Option<SlideSize>,
pub notes_size: Option<(Emu, Emu)>,
pub first_slide_num: i32,
pub rtl: bool,
pub root_ok: bool,
pub defects: Vec<Defect>,
}Expand description
The parsed presentation part.
Fields§
§slides: Vec<SlideId>§sections: Vec<Section>Sections from the p14:sectionLst extension, in order; empty when none.
masters: Vec<MasterId>§notes_master: Option<String>r:id of the notes master, if listed.
handout_master: Option<String>r:id of the handout master, if listed.
slide_size: Option<SlideSize>§notes_size: Option<(Emu, Emu)>§first_slide_num: i32firstSlideNum; 1 when omitted.
rtl: bool§root_ok: boolFalse when the root is not p:presentation.
defects: Vec<Defect>Implementations§
Trait Implementations§
Source§impl Clone for Presentation
impl Clone for Presentation
Source§fn clone(&self) -> Presentation
fn clone(&self) -> Presentation
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 Presentation
impl Debug for Presentation
Source§impl Default for Presentation
impl Default for Presentation
Source§fn default() -> Presentation
fn default() -> Presentation
Returns the “default value” for a type. Read more
impl Eq for Presentation
Source§impl PartialEq for Presentation
impl PartialEq for Presentation
impl StructuralPartialEq for Presentation
Auto Trait Implementations§
impl Freeze for Presentation
impl RefUnwindSafe for Presentation
impl Send for Presentation
impl Sync for Presentation
impl Unpin for Presentation
impl UnsafeUnpin for Presentation
impl UnwindSafe for Presentation
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