pub struct ListStyle {
pub indent: f64,
pub bullet: TextStyle,
pub bullet_padding: EdgeInsets,
pub checkbox: TextStyle,
}Expand description
How a list looks.
Fields§
§indent: f64The width of the column that holds the bullets, past their padding.
bullet: TextStyleThe style of a bullet or a number.
bullet_padding: EdgeInsets§checkbox: TextStyleA task item’s checkbox is drawn as a glyph of this style: its color, at its font size.
Trait Implementations§
impl StructuralPartialEq for ListStyle
Auto Trait Implementations§
impl !RefUnwindSafe for ListStyle
impl !Send for ListStyle
impl !Sync for ListStyle
impl !UnwindSafe for ListStyle
impl Forget for ListStyle
impl Freeze for ListStylewhere
&'static dyn ColorExtension: Freeze,
*const RcInner<dyn ColorExtension> is !null: Freeze,
PhantomData<RcInner<dyn ColorExtension>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
*const RcInner<Paint> is !null: Freeze,
PhantomData<RcInner<Paint>>: Freeze,
PhantomData<Shadow>: Freeze,
PhantomData<FontFeature>: Freeze,
PhantomData<FontVariation>: Freeze,
impl Move for ListStyle
impl Unpin for ListStyle
impl UnsafeUnpin for ListStylewhere
&'static dyn ColorExtension: UnsafeUnpin,
*const RcInner<dyn ColorExtension> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn ColorExtension>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const RcInner<Paint> is !null: UnsafeUnpin,
PhantomData<RcInner<Paint>>: UnsafeUnpin,
PhantomData<Shadow>: UnsafeUnpin,
PhantomData<FontFeature>: UnsafeUnpin,
PhantomData<FontVariation>: UnsafeUnpin,
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