Struct components::material::ListTile
source · [−]pub struct ListTile {Show 23 fields
pub key: Key,
pub leading: Box<dyn Widget>,
pub title: Box<dyn Widget>,
pub subtitle: Box<dyn Widget>,
pub trailing: Box<dyn Widget>,
pub is_three_line: bool,
pub dense: bool,
pub visual_density: VisualDensity,
pub shape: Box<dyn ShapeBorder>,
pub content_padding: Box<dyn EdgeInsetsGeometry>,
pub enabled: bool,
pub mouse_cursor: MouseCursor,
pub selected: bool,
pub focus_color: Color,
pub hover_color: Color,
pub focus_node: FocusNode,
pub autofocus: bool,
pub tile_color: Color,
pub selected_tile_color: Color,
pub enable_feedback: bool,
pub horizontal_title_gap: f32,
pub min_vertical_padding: f32,
pub min_leading_width: f32,
}
Fields
key: Key
leading: Box<dyn Widget>
title: Box<dyn Widget>
subtitle: Box<dyn Widget>
trailing: Box<dyn Widget>
is_three_line: bool
dense: bool
visual_density: VisualDensity
shape: Box<dyn ShapeBorder>
content_padding: Box<dyn EdgeInsetsGeometry>
enabled: bool
mouse_cursor: MouseCursor
selected: bool
focus_color: Color
hover_color: Color
focus_node: FocusNode
autofocus: bool
tile_color: Color
selected_tile_color: Color
enable_feedback: bool
horizontal_title_gap: f32
min_vertical_padding: f32
min_leading_width: f32
Trait Implementations
sourceimpl WidgetProperties for ListTile
impl WidgetProperties for ListTile
sourcefn mouse_input(&self) -> bool
fn mouse_input(&self) -> bool
Whether or not the control responds to mouse input
sourcefn renderable(&self) -> bool
fn renderable(&self) -> bool
Whether or not the control emits render signals from the canvas render call
sourcefn internal_visible(&self) -> bool
fn internal_visible(&self) -> bool
Internal. Internal parent visibility for creating sub controls.
Auto Trait Implementations
impl !RefUnwindSafe for ListTile
impl !Send for ListTile
impl !Sync for ListTile
impl Unpin for ListTile
impl !UnwindSafe for ListTile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
fn into_color(self) -> To
fn into_color(self) -> To
Convert into color
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value
as a parameter of self
.