pub enum MsoShapeType {
AutoShape,
TextBox,
Placeholder,
Picture,
Group,
Connector,
GraphicFrame,
}Expand description
形状类型(MSO_SHAPE_TYPE)。
对标 python-pptx 中 pptx.enum.shapes.MSO_SHAPE_TYPE。
本枚举用于 Shape::shape_type 的返回值。
Variants§
AutoShape
自由形状(AUTO_SHAPE / FREE_FORM)。
TextBox
文本框。
Placeholder
占位符。
Picture
图片。
Group
组合。
Connector
连接器。
GraphicFrame
表格(GraphicFrame)。
Implementations§
Trait Implementations§
Source§impl Clone for MsoShapeType
impl Clone for MsoShapeType
Source§fn clone(&self) -> MsoShapeType
fn clone(&self) -> MsoShapeType
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 MsoShapeType
Source§impl Debug for MsoShapeType
impl Debug for MsoShapeType
impl Eq for MsoShapeType
Source§impl PartialEq for MsoShapeType
impl PartialEq for MsoShapeType
Source§fn eq(&self, other: &MsoShapeType) -> bool
fn eq(&self, other: &MsoShapeType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MsoShapeType
Auto Trait Implementations§
impl Freeze for MsoShapeType
impl RefUnwindSafe for MsoShapeType
impl Send for MsoShapeType
impl Sync for MsoShapeType
impl Unpin for MsoShapeType
impl UnsafeUnpin for MsoShapeType
impl UnwindSafe for MsoShapeType
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.