pub struct PlaceholderShape(pub AutoShape);Expand description
占位符形状(暂时借用 AutoShape 表示 + 携带 ph 信息)。
占位符与 AutoShape 的区别仅在于“是否带 <p:ph> 元素“,所以本类型
直接包装 AutoShape;在序列化时 AutoShape::write_xml(实为 oxml Sp::write_xml)
会自动按 is_placeholder 字段决定是否写 <p:ph>。
Tuple Fields§
§0: AutoShape内部包装的自选形状。
Trait Implementations§
Source§impl Clone for PlaceholderShape
impl Clone for PlaceholderShape
Source§fn clone(&self) -> PlaceholderShape
fn clone(&self) -> PlaceholderShape
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 moreAuto Trait Implementations§
impl Freeze for PlaceholderShape
impl RefUnwindSafe for PlaceholderShape
impl Send for PlaceholderShape
impl Sync for PlaceholderShape
impl Unpin for PlaceholderShape
impl UnsafeUnpin for PlaceholderShape
impl UnwindSafe for PlaceholderShape
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