pub enum ListSectionItem {
Row(ListItem),
Switch(SwitchTile),
Checkbox(CheckboxTile),
Radio(RadioTile),
Slider(SliderTile),
Choice(ChoiceTile),
}Expand description
Any list row or settings tile that can participate in a ListSection.
Variants§
Row(ListItem)
A standard ListItem row.
Switch(SwitchTile)
A SwitchTile settings row.
Checkbox(CheckboxTile)
A CheckboxTile settings row.
Radio(RadioTile)
A RadioTile settings row.
Slider(SliderTile)
A SliderTile settings row.
Choice(ChoiceTile)
A ChoiceTile settings row.
Trait Implementations§
Source§impl From<CheckboxTile> for ListSectionItem
Available on crate feature selection only.
impl From<CheckboxTile> for ListSectionItem
Available on crate feature
selection only.Source§fn from(value: CheckboxTile) -> Self
fn from(value: CheckboxTile) -> Self
Converts to this type from the input type.
Source§impl From<ChoiceTile> for ListSectionItem
Available on crate feature feedback only.
impl From<ChoiceTile> for ListSectionItem
Available on crate feature
feedback only.Source§fn from(value: ChoiceTile) -> Self
fn from(value: ChoiceTile) -> Self
Converts to this type from the input type.
Source§impl From<ListItem> for ListSectionItem
impl From<ListItem> for ListSectionItem
Source§impl From<RadioTile> for ListSectionItem
Available on crate feature selection only.
impl From<RadioTile> for ListSectionItem
Available on crate feature
selection only.Source§impl From<SliderTile> for ListSectionItem
Available on crate feature selection only.
impl From<SliderTile> for ListSectionItem
Available on crate feature
selection only.Source§fn from(value: SliderTile) -> Self
fn from(value: SliderTile) -> Self
Converts to this type from the input type.
Source§impl From<SwitchTile> for ListSectionItem
Available on crate feature selection only.
impl From<SwitchTile> for ListSectionItem
Available on crate feature
selection only.Source§fn from(value: SwitchTile) -> Self
fn from(value: SwitchTile) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ListSectionItem
impl !Send for ListSectionItem
impl !Sync for ListSectionItem
impl !UnwindSafe for ListSectionItem
impl Forget for ListSectionItem
impl Freeze for ListSectionItem
impl Move for ListSectionItem
impl Unpin for ListSectionItem
impl UnsafeUnpin for ListSectionItem
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more