pub enum PlaceholderKind {
Show 17 variants
Title,
Body,
CenterTitle,
Subtitle,
DateTime,
SlideNumber,
Footer,
Header,
Object,
Chart,
Table,
ClipArt,
Diagram,
Media,
Picture,
SlideImage,
Other,
}Expand description
ST_PlaceholderType (19.7.10).
Variants§
Title
Body
CenterTitle
Subtitle
DateTime
SlideNumber
Header
Object
Chart
Table
ClipArt
Diagram
Media
Picture
SlideImage
Other
Implementations§
Source§impl PlaceholderKind
impl PlaceholderKind
pub fn parse(value: &[u8]) -> PlaceholderKind
Sourcepub fn is_furniture(self) -> bool
pub fn is_furniture(self) -> bool
True for the date, footer and slide number placeholders, whose text is presentation furniture rather than slide content.
pub fn as_str(self) -> &'static str
Trait Implementations§
Source§impl Clone for PlaceholderKind
impl Clone for PlaceholderKind
Source§fn clone(&self) -> PlaceholderKind
fn clone(&self) -> PlaceholderKind
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 moreimpl Copy for PlaceholderKind
Source§impl Debug for PlaceholderKind
impl Debug for PlaceholderKind
Source§impl Default for PlaceholderKind
impl Default for PlaceholderKind
Source§fn default() -> PlaceholderKind
fn default() -> PlaceholderKind
Returns the “default value” for a type. Read more
impl Eq for PlaceholderKind
Source§impl PartialEq for PlaceholderKind
impl PartialEq for PlaceholderKind
impl StructuralPartialEq for PlaceholderKind
Auto Trait Implementations§
impl Freeze for PlaceholderKind
impl RefUnwindSafe for PlaceholderKind
impl Send for PlaceholderKind
impl Sync for PlaceholderKind
impl Unpin for PlaceholderKind
impl UnsafeUnpin for PlaceholderKind
impl UnwindSafe for PlaceholderKind
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