pub enum TabAlignment {
Left,
Center,
Right,
Decimal,
}Expand description
制表位对齐类型(<a:tab algn="...">)。
对标 python-pptx pptx.enum.text.PP_ALIGN 在制表位场景下的子集。
OOXML 中 <a:tab> 元素的 algn 属性取值:l / ctr / r / dec。
Variants§
Left
左对齐制表位(algn="l")——默认。
Center
居中对齐制表位(algn="ctr")。
Right
右对齐制表位(algn="r")。
Decimal
小数点对齐制表位(algn="dec"),常用于数字列表。
Implementations§
Trait Implementations§
Source§impl Clone for TabAlignment
impl Clone for TabAlignment
Source§fn clone(&self) -> TabAlignment
fn clone(&self) -> TabAlignment
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 TabAlignment
Source§impl Debug for TabAlignment
impl Debug for TabAlignment
Source§impl Default for TabAlignment
impl Default for TabAlignment
Source§fn default() -> TabAlignment
fn default() -> TabAlignment
Returns the “default value” for a type. Read more
impl Eq for TabAlignment
Source§impl FromStr for TabAlignment
impl FromStr for TabAlignment
Source§impl PartialEq for TabAlignment
impl PartialEq for TabAlignment
Source§fn eq(&self, other: &TabAlignment) -> bool
fn eq(&self, other: &TabAlignment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TabAlignment
Auto Trait Implementations§
impl Freeze for TabAlignment
impl RefUnwindSafe for TabAlignment
impl Send for TabAlignment
impl Sync for TabAlignment
impl Unpin for TabAlignment
impl UnsafeUnpin for TabAlignment
impl UnwindSafe for TabAlignment
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.