[−][src]Struct azul_widgets::table_view::TableViewState
Fields
work_sheet: BTreeMap<usize, BTreeMap<usize, String>>
column_width: f32
row_height: f32
selected_cell: Option<(usize, usize)>
Implementations
impl TableViewState
[src]
pub fn render(&self, rows: Range<usize>, columns: Range<usize>) -> Dom
[src]
Renders a cutout of the table from, horizontally from (col_start..col_end) and vertically from (row_start..row_end)
pub fn set_cell<I: Into<String>>(&mut self, x: usize, y: usize, value: I)
[src]
Trait Implementations
impl Clone for TableViewState
[src]
fn clone(&self) -> TableViewState
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TableViewState
[src]
impl Default for TableViewState
[src]
Auto Trait Implementations
impl RefUnwindSafe for TableViewState
impl Send for TableViewState
impl Sync for TableViewState
impl Unpin for TableViewState
impl UnwindSafe for TableViewState
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,