pub struct Table {
pub data: Mutable<Vec<TableValues>>,
pub direction: TableDirection,
/* private fields */
}Fields§
§data: Mutable<Vec<TableValues>>§direction: TableDirectionImplementations§
Source§impl Table
impl Table
pub fn new() -> Self
pub fn data(&mut self, value: Mutable<Vec<TableValues>>) -> &mut Self
pub fn direction(&mut self, value: TableDirection) -> &mut Self
pub fn colour(&mut self, value: Colour) -> &mut Self
pub fn styles(&mut self, value: Vec<(String, Reactive<String>)>) -> &mut Self
Source§impl Table
impl Table
pub fn sort_data( data: Vec<TableValues>, sort: (String, SortDirection), ) -> Vec<TableValues>
Trait Implementations§
Source§impl Component for Table
impl Component for Table
fn style(&mut self, style: (String, Reactive<String>)) -> &mut Self
fn dom(&mut self) -> Dom
fn mt(&mut self, s: RemSizing) -> &mut Self
fn mb(&mut self, s: RemSizing) -> &mut Self
fn ml(&mut self, s: RemSizing) -> &mut Self
fn mr(&mut self, s: RemSizing) -> &mut Self
Auto Trait Implementations§
impl Freeze for Table
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnwindSafe for Table
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