pub struct ContentTypesPart { /* private fields */ }Expand description
Content types part ([Content_Types].xml)
Implementations§
Source§impl ContentTypesPart
impl ContentTypesPart
Sourcepub fn add_default(
&mut self,
extension: impl Into<String>,
content_type: impl Into<String>,
)
pub fn add_default( &mut self, extension: impl Into<String>, content_type: impl Into<String>, )
Add a default type
Sourcepub fn add_override(
&mut self,
part_name: impl Into<String>,
content_type: impl Into<String>,
)
pub fn add_override( &mut self, part_name: impl Into<String>, content_type: impl Into<String>, )
Add an override type
Sourcepub fn add_presentation(&mut self)
pub fn add_presentation(&mut self)
Add presentation part
Sourcepub fn add_slide_layout(&mut self, layout_number: usize)
pub fn add_slide_layout(&mut self, layout_number: usize)
Add slide layout part
Sourcepub fn add_slide_master(&mut self, master_number: usize)
pub fn add_slide_master(&mut self, master_number: usize)
Add slide master part
Sourcepub fn add_notes_slide(&mut self, notes_number: usize)
pub fn add_notes_slide(&mut self, notes_number: usize)
Add notes slide part
Sourcepub fn add_core_properties(&mut self)
pub fn add_core_properties(&mut self)
Add core properties
Sourcepub fn add_app_properties(&mut self)
pub fn add_app_properties(&mut self)
Add app properties
Trait Implementations§
Source§impl Clone for ContentTypesPart
impl Clone for ContentTypesPart
Source§fn clone(&self) -> ContentTypesPart
fn clone(&self) -> ContentTypesPart
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 ContentTypesPart
impl Debug for ContentTypesPart
Source§impl Default for ContentTypesPart
impl Default for ContentTypesPart
Source§impl Part for ContentTypesPart
impl Part for ContentTypesPart
Source§fn content_type(&self) -> ContentType
fn content_type(&self) -> ContentType
Get the content type
Auto Trait Implementations§
impl Freeze for ContentTypesPart
impl RefUnwindSafe for ContentTypesPart
impl Send for ContentTypesPart
impl Sync for ContentTypesPart
impl Unpin for ContentTypesPart
impl UnsafeUnpin for ContentTypesPart
impl UnwindSafe for ContentTypesPart
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