pub struct ListView<'a, S = Vec<Row>> { /* private fields */ }Implementations§
Source§impl<'a, S: Source> ListView<'a, S>
impl<'a, S: Source> ListView<'a, S>
pub fn new(list: &'a mut List<S>, columns: &'a [Column<'a>]) -> Self
pub fn scrollbar(self, bar: Option<Bar<'a>>) -> Self
pub fn count(self, count: Option<Count<'a>>) -> Self
pub fn styles(self, styles: Styles) -> Self
pub fn cursor(self, cursor: &'a str) -> Self
pub fn gap(self, gap: u16) -> Self
pub fn header(self, header: bool) -> Self
pub fn key_column(self, column: Option<usize>) -> Self
pub fn end(self, end: Option<&'a str>) -> Self
pub fn empty(self, empty: Option<&'a str>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<'a, S = Vec<Row>> !UnwindSafe for ListView<'a, S>
impl<'a, S> Freeze for ListView<'a, S>
impl<'a, S> RefUnwindSafe for ListView<'a, S>where
S: RefUnwindSafe,
impl<'a, S> Send for ListView<'a, S>where
S: Send,
impl<'a, S> Sync for ListView<'a, S>where
S: Sync,
impl<'a, S> Unpin for ListView<'a, S>
impl<'a, S> UnsafeUnpin for ListView<'a, S>
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> 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