pub struct ValueTableLayoutGrid { /* private fields */ }
Expand description
A 2D grid layout for the value table where cells are laid out in specific rows and columns. Supports hierarchical cell visualisation configurations, favoring when present: the cell’s own definition, then the column’s, then the row’s, then the panel’s.
Implementations§
Source§impl ValueTableLayoutGrid
impl ValueTableLayoutGrid
Sourcepub fn builder() -> Builder<GridDefaultCellConfigsStage>
pub fn builder() -> Builder<GridDefaultCellConfigsStage>
Returns a new builder.
Source§impl ValueTableLayoutGrid
impl ValueTableLayoutGrid
Sourcepub fn new(
grid_default_cell_configs: ValueTableMultiCellConfig,
row_count: i32,
column_count: i32,
) -> Self
pub fn new( grid_default_cell_configs: ValueTableMultiCellConfig, row_count: i32, column_count: i32, ) -> Self
Constructs a new instance of the type.
Sourcepub fn show_row_headers(&self) -> Option<bool>
pub fn show_row_headers(&self) -> Option<bool>
If true, display row headers.
Sourcepub fn show_column_headers(&self) -> Option<bool>
pub fn show_column_headers(&self) -> Option<bool>
If true, display column headers.
Sourcepub fn show_cell_labels(&self) -> Option<bool>
pub fn show_cell_labels(&self) -> Option<bool>
If true, display channel names in the cells.
Sourcepub fn grid_default_cell_configs(&self) -> &ValueTableMultiCellConfig
pub fn grid_default_cell_configs(&self) -> &ValueTableMultiCellConfig
Panel-level defaults for cell visualisations
Sourcepub fn column_configs(&self) -> &[ValueTableGridRowColumnConfig]
pub fn column_configs(&self) -> &[ValueTableGridRowColumnConfig]
Column-level configurations.
Sourcepub fn row_configs(&self) -> &[ValueTableGridRowColumnConfig]
pub fn row_configs(&self) -> &[ValueTableGridRowColumnConfig]
Row-level configurations.
pub fn row_count(&self) -> i32
pub fn column_count(&self) -> i32
Sourcepub fn cells(&self) -> &[ValueTableGridValueTableCell]
pub fn cells(&self) -> &[ValueTableGridValueTableCell]
An array of cells to display in the table.
Trait Implementations§
Source§impl Clone for ValueTableLayoutGrid
impl Clone for ValueTableLayoutGrid
Source§fn clone(&self) -> ValueTableLayoutGrid
fn clone(&self) -> ValueTableLayoutGrid
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ValueTableLayoutGrid
impl Debug for ValueTableLayoutGrid
Source§impl<'de> Deserialize<'de> for ValueTableLayoutGrid
impl<'de> Deserialize<'de> for ValueTableLayoutGrid
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ValueTableLayoutGrid> for Builder<Complete>
impl From<ValueTableLayoutGrid> for Builder<Complete>
Source§fn from(v: ValueTableLayoutGrid) -> Self
fn from(v: ValueTableLayoutGrid) -> Self
Converts to this type from the input type.
Source§impl Hash for ValueTableLayoutGrid
impl Hash for ValueTableLayoutGrid
Source§impl Ord for ValueTableLayoutGrid
impl Ord for ValueTableLayoutGrid
Source§impl PartialEq for ValueTableLayoutGrid
impl PartialEq for ValueTableLayoutGrid
Source§impl PartialOrd for ValueTableLayoutGrid
impl PartialOrd for ValueTableLayoutGrid
Source§impl Serialize for ValueTableLayoutGrid
impl Serialize for ValueTableLayoutGrid
impl Eq for ValueTableLayoutGrid
Auto Trait Implementations§
impl Freeze for ValueTableLayoutGrid
impl RefUnwindSafe for ValueTableLayoutGrid
impl Send for ValueTableLayoutGrid
impl Sync for ValueTableLayoutGrid
impl Unpin for ValueTableLayoutGrid
impl UnwindSafe for ValueTableLayoutGrid
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request