pub struct ListItemConfig {
pub modifier: Modifier,
pub headline_color: Color,
pub supporting_color: Color,
pub horizontal_padding: f32,
pub trailing_padding: f32,
pub one_line_height: f32,
pub two_line_height: f32,
}Expand description
Configuration for ListItem.
Fields§
§modifier: Modifier§headline_color: Color§supporting_color: Color§horizontal_padding: f32§trailing_padding: f32§one_line_height: f32§two_line_height: f32Trait Implementations§
Source§impl Clone for ListItemConfig
impl Clone for ListItemConfig
Source§fn clone(&self) -> ListItemConfig
fn clone(&self) -> ListItemConfig
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 ListItemConfig
impl Debug for ListItemConfig
Auto Trait Implementations§
impl !RefUnwindSafe for ListItemConfig
impl !Send for ListItemConfig
impl !Sync for ListItemConfig
impl !UnwindSafe for ListItemConfig
impl Freeze for ListItemConfig
impl Unpin for ListItemConfig
impl UnsafeUnpin for ListItemConfig
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