pub struct RepeaterColumn<M, T> { /* private fields */ }Expand description
A column of a list of RepeaterItem values.
A detail page shows each item as a block of its fields, each under its own label. A table cell
lists the same fields as label: value, one item after another.
tablo_core::RepeaterColumn::new(tablo_core::lens!(Post.links));Implementations§
Source§impl<M, T> RepeaterColumn<M, T>where
M: Model,
T: RepeaterItem,
impl<M, T> RepeaterColumn<M, T>where
M: Model,
T: RepeaterItem,
Trait Implementations§
Source§impl<M, T> Clone for RepeaterColumn<M, T>
impl<M, T> Clone for RepeaterColumn<M, T>
Source§impl<M, T> Column<M> for RepeaterColumn<M, T>
impl<M, T> Column<M> for RepeaterColumn<M, T>
Source§fn column_width(&self) -> ColumnWidth
fn column_width(&self) -> ColumnWidth
The width the column claims.
Source§fn is_searchable(&self) -> bool
fn is_searchable(&self) -> bool
Whether the column joins the table’s search.
Source§fn search_expr(&self, _term: &str) -> Option<Expr<bool>>
fn search_expr(&self, _term: &str) -> Option<Expr<bool>>
The predicate a search for
term adds.Source§fn is_sortable(&self) -> bool
fn is_sortable(&self) -> bool
Whether the header links to a sort on this column.
Source§impl<M, T> Debug for RepeaterColumn<M, T>
impl<M, T> Debug for RepeaterColumn<M, T>
impl<M, T> IntoColumns<M> for RepeaterColumn<M, T>
Source§impl<M, T> IntoDetail<M> for RepeaterColumn<M, T>
impl<M, T> IntoDetail<M> for RepeaterColumn<M, T>
fn into_detail(self) -> Detail<M>
Auto Trait Implementations§
impl<M, T> !Freeze for RepeaterColumn<M, T>
impl<M, T> RefUnwindSafe for RepeaterColumn<M, T>
impl<M, T> Send for RepeaterColumn<M, T>
impl<M, T> Sync for RepeaterColumn<M, T>
impl<M, T> Unpin for RepeaterColumn<M, T>
impl<M, T> UnsafeUnpin for RepeaterColumn<M, T>
impl<M, T> UnwindSafe for RepeaterColumn<M, T>
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