pub enum PlaceholderKind {
Title,
Body,
CenterTitle,
SubTitle,
DateTime,
SlideNumber,
Footer,
Header,
Object,
SlideImage,
Other(String),
}Expand description
A useful subset of ST_PlaceholderType’s values — the ones a shape (as opposed to a placeholder
picture/chart/table, not modeled) can play. PlaceholderKind::Other preserves
round-trip fidelity for any type not explicitly modeled here (chart/tbl/
clipArt/dgm/media/sldImg/pic, all placeholder roles for a non-<p:sp> shape kind that
this crate doesn’t tag with placeholder info on the writing side, but must still be able to read
back without error), same “closed enum + escape hatch” posture drawing::PresetShape already
established.
Variants§
Title
Body
CenterTitle
SubTitle
DateTime
SlideNumber
Header
Object
SlideImage
sldImg — the slide-thumbnail placeholder on a notes slide (see Presentation’s writer,
which emits one automatically around Slide.notes).
Other(String)
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 moreSource§impl Debug for PlaceholderKind
impl Debug for PlaceholderKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.