pub enum BulletStyle {
None,
Char {
char: String,
},
AutoNum {
auto_num_type: String,
start_at: Option<u32>,
},
}Expand description
项目符号样式(<a:buChar> / <a:buAutoNum> / <a:buNone> 等)。
对应 python-pptx 中 _ParagraphFormat.bullet 的详细控制。
Variants§
None
无项目符号(<a:buNone/>)。
Char
自定义字符项目符号(<a:buChar char="..."/>)。
AutoNum
自动编号(<a:buAutoNum type="..." startAt="..."/>)。
Trait Implementations§
Source§impl Clone for BulletStyle
impl Clone for BulletStyle
Source§fn clone(&self) -> BulletStyle
fn clone(&self) -> BulletStyle
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 BulletStyle
impl Debug for BulletStyle
Source§impl Default for BulletStyle
impl Default for BulletStyle
Source§fn default() -> BulletStyle
fn default() -> BulletStyle
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BulletStyle
impl RefUnwindSafe for BulletStyle
impl Send for BulletStyle
impl Sync for BulletStyle
impl Unpin for BulletStyle
impl UnsafeUnpin for BulletStyle
impl UnwindSafe for BulletStyle
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