pub struct PresentationPart { /* private fields */ }Expand description
Presentation part (presentation.xml)
Implementations§
Source§impl PresentationPart
impl PresentationPart
Sourcepub fn set_slide_master(&mut self, r_id: &str)
pub fn set_slide_master(&mut self, r_id: &str)
Set slide master relationship ID
Sourcepub fn slide_count(&self) -> usize
pub fn slide_count(&self) -> usize
Get slide count
Sourcepub fn set_dimensions(&mut self, width: u32, height: u32)
pub fn set_dimensions(&mut self, width: u32, height: u32)
Set slide dimensions
Sourcepub fn create_relationships(&self) -> Relationships
pub fn create_relationships(&self) -> Relationships
Create default relationships for presentation
Trait Implementations§
Source§impl Clone for PresentationPart
impl Clone for PresentationPart
Source§fn clone(&self) -> PresentationPart
fn clone(&self) -> PresentationPart
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 PresentationPart
impl Debug for PresentationPart
Source§impl Default for PresentationPart
impl Default for PresentationPart
Source§impl Part for PresentationPart
impl Part for PresentationPart
Source§fn content_type(&self) -> ContentType
fn content_type(&self) -> ContentType
Get the content type
Auto Trait Implementations§
impl Freeze for PresentationPart
impl RefUnwindSafe for PresentationPart
impl Send for PresentationPart
impl Sync for PresentationPart
impl Unpin for PresentationPart
impl UnsafeUnpin for PresentationPart
impl UnwindSafe for PresentationPart
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