pub struct List<'a, T: PreRender> {
pub items: Vec<T>,
/* private fields */
}
๐Deprecated since 0.11.0: Use ListView with ListBuilder instead.
Expand description
Fieldsยง
ยงitems: Vec<T>
๐Deprecated since 0.11.0: Use ListView with ListBuilder instead.
The listโs items.
Implementationsยง
Trait Implementationsยง
Sourceยงimpl<T: PreRender> StatefulWidget for List<'_, T>
impl<T: PreRender> StatefulWidget for List<'_, T>
Auto Trait Implementationsยง
impl<'a, T> Freeze for List<'a, T>
impl<'a, T> RefUnwindSafe for List<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for List<'a, T>where
T: Send,
impl<'a, T> Sync for List<'a, T>where
T: Sync,
impl<'a, T> Unpin for List<'a, T>where
T: Unpin,
impl<'a, T> UnwindSafe for List<'a, T>where
T: UnwindSafe,
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
Sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 moreSourceยงimpl<'a, T, U> Stylize<'a, T> for Uwhere
U: Styled<Item = T>,
impl<'a, T, U> Stylize<'a, T> for Uwhere
U: Styled<Item = T>,
fn bg<C>(self, color: C) -> T
fn fg<C>(self, color: C) -> T
fn add_modifier(self, modifier: Modifier) -> T
fn remove_modifier(self, modifier: Modifier) -> T
fn reset(self) -> T
Sourceยงfn on_magenta(self) -> T
fn on_magenta(self) -> T
Sets the background color to
magenta
.Sourceยงfn on_dark_gray(self) -> T
fn on_dark_gray(self) -> T
Sets the background color to
dark_gray
.Sourceยงfn on_light_red(self) -> T
fn on_light_red(self) -> T
Sets the background color to
light_red
.Sourceยงfn light_green(self) -> T
fn light_green(self) -> T
Sets the foreground color to
light_green
.Sourceยงfn on_light_green(self) -> T
fn on_light_green(self) -> T
Sets the background color to
light_green
.Sourceยงfn light_yellow(self) -> T
fn light_yellow(self) -> T
Sets the foreground color to
light_yellow
.Sourceยงfn on_light_yellow(self) -> T
fn on_light_yellow(self) -> T
Sets the background color to
light_yellow
.Sourceยงfn light_blue(self) -> T
fn light_blue(self) -> T
Sets the foreground color to
light_blue
.Sourceยงfn on_light_blue(self) -> T
fn on_light_blue(self) -> T
Sets the background color to
light_blue
.Sourceยงfn light_magenta(self) -> T
fn light_magenta(self) -> T
Sets the foreground color to
light_magenta
.Sourceยงfn on_light_magenta(self) -> T
fn on_light_magenta(self) -> T
Sets the background color to
light_magenta
.Sourceยงfn light_cyan(self) -> T
fn light_cyan(self) -> T
Sets the foreground color to
light_cyan
.Sourceยงfn on_light_cyan(self) -> T
fn on_light_cyan(self) -> T
Sets the background color to
light_cyan
.Sourceยงfn not_italic(self) -> T
fn not_italic(self) -> T
Removes the
ITALIC
modifier.Sourceยงfn underlined(self) -> T
fn underlined(self) -> T
Adds the
UNDERLINED
modifier.Sourceยงfn not_underlined(self) -> T
fn not_underlined(self) -> T
Removes the
UNDERLINED
modifier.Sourceยงfn slow_blink(self) -> T
fn slow_blink(self) -> T
Adds the
SLOW_BLINK
modifier.Sourceยงfn not_slow_blink(self) -> T
fn not_slow_blink(self) -> T
Removes the
SLOW_BLINK
modifier.Sourceยงfn rapid_blink(self) -> T
fn rapid_blink(self) -> T
Adds the
RAPID_BLINK
modifier.Sourceยงfn not_rapid_blink(self) -> T
fn not_rapid_blink(self) -> T
Removes the
RAPID_BLINK
modifier.Sourceยงfn not_reversed(self) -> T
fn not_reversed(self) -> T
Removes the
REVERSED
modifier.Adds the
HIDDEN
modifier.Removes the
HIDDEN
modifier.Sourceยงfn crossed_out(self) -> T
fn crossed_out(self) -> T
Adds the
CROSSED_OUT
modifier.Sourceยงfn not_crossed_out(self) -> T
fn not_crossed_out(self) -> T
Removes the
CROSSED_OUT
modifier.