#[non_exhaustive]pub struct ColumnVariant {
pub key: &'static str,
pub calculated: bool,
pub field_name: &'static str,
pub field_type: RustType,
pub title: &'static str,
pub width: f32,
pub sortable: bool,
pub fixed: ColumnFixed,
}Expand description
Metadata for a single column in a table.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.key: &'static strStable public column key, independent of the Rust field name.
calculated: boolWhether ordering uses a caller-provided calculated key.
field_name: &'static str§field_type: RustType§title: &'static str§width: f32§sortable: bool§fixed: ColumnFixedImplementations§
Source§impl ColumnVariant
impl ColumnVariant
Trait Implementations§
Auto Trait Implementations§
impl Forget for ColumnVariant
impl Freeze for ColumnVariant
impl Move for ColumnVariant
impl RefUnwindSafe for ColumnVariant
impl Send for ColumnVariant
impl Sync for ColumnVariant
impl Unpin for ColumnVariant
impl UnsafeUnpin for ColumnVariant
impl UnwindSafe for ColumnVariant
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