pub enum BulletStyle {
Disc,
Circle,
Square,
Dash,
Custom(char),
}Expand description
Bullet style for unordered lists
Variants§
Disc
Filled circle (•)
Circle
Empty circle (○)
Square
Filled square (■)
Dash
Dash (-)
Custom(char)
Custom character
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 moreimpl Copy for BulletStyle
Source§impl Debug for BulletStyle
impl Debug for BulletStyle
Source§impl PartialEq for BulletStyle
impl PartialEq for BulletStyle
Source§fn eq(&self, other: &BulletStyle) -> bool
fn eq(&self, other: &BulletStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BulletStyle
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