pub enum MsoConnectorType {
Straight,
Elbow,
Curve,
BentConnector3,
BentConnector4,
BentConnector5,
CurvedConnector3,
CurvedConnector4,
CurvedConnector5,
}Expand description
连接器类型(MSO_CONNECTOR_TYPE)。
对标 python-pptx 中 pptx.enum.shapes.MSO_CONNECTOR_TYPE。
序列化时落到 <a:prstGeom prst="..."> 的 prst 属性。
Variants§
Straight
直线(straightConnector1)。
Elbow
单折线(bentConnector2)。
Curve
曲线(curvedConnector2)。
BentConnector3
弯曲连接器 3 段(bentConnector3,带 1 个调整点)。
BentConnector4
弯曲连接器 4 段(bentConnector4,带 2 个调整点)。
BentConnector5
弯曲连接器 5 段(bentConnector5,带 3 个调整点)。
CurvedConnector3
曲线连接器 3 段(curvedConnector3)。
CurvedConnector4
曲线连接器 4 段(curvedConnector4)。
CurvedConnector5
曲线连接器 5 段(curvedConnector5)。
Implementations§
Trait Implementations§
Source§impl Clone for MsoConnectorType
impl Clone for MsoConnectorType
Source§fn clone(&self) -> MsoConnectorType
fn clone(&self) -> MsoConnectorType
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 MsoConnectorType
Source§impl Debug for MsoConnectorType
impl Debug for MsoConnectorType
impl Eq for MsoConnectorType
Source§impl FromStr for MsoConnectorType
impl FromStr for MsoConnectorType
Source§impl PartialEq for MsoConnectorType
impl PartialEq for MsoConnectorType
Source§fn eq(&self, other: &MsoConnectorType) -> bool
fn eq(&self, other: &MsoConnectorType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MsoConnectorType
Auto Trait Implementations§
impl Freeze for MsoConnectorType
impl RefUnwindSafe for MsoConnectorType
impl Send for MsoConnectorType
impl Sync for MsoConnectorType
impl Unpin for MsoConnectorType
impl UnsafeUnpin for MsoConnectorType
impl UnwindSafe for MsoConnectorType
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.