pub struct TableGridRecipe {
pub line_thickness: f32,
pub line_role: BorderRole,
pub frozen_shadow_width: f32,
}Expand description
Recipe — non-widget data describing the batched paint pass for
grid lines and the frozen-column shadow. Consumed by
TableView::paint / TreeTableView::paint directly. Custom styles
override the entire recipe via TableStyle::grid().
Fields§
§line_thickness: f32Vertical and horizontal grid-line stroke width.
line_role: BorderRoleBorder role for grid lines. Defaults to Divider.
frozen_shadow_width: f32Width of the shadow drawn at the frozen-column boundary. 0.0
disables the shadow.
Trait Implementations§
Source§impl Clone for TableGridRecipe
impl Clone for TableGridRecipe
Source§fn clone(&self) -> TableGridRecipe
fn clone(&self) -> TableGridRecipe
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TableGridRecipe
Source§impl Debug for TableGridRecipe
impl Debug for TableGridRecipe
Source§impl Default for TableGridRecipe
impl Default for TableGridRecipe
Source§impl PartialEq for TableGridRecipe
impl PartialEq for TableGridRecipe
impl StructuralPartialEq for TableGridRecipe
Auto Trait Implementations§
impl Freeze for TableGridRecipe
impl RefUnwindSafe for TableGridRecipe
impl Send for TableGridRecipe
impl Sync for TableGridRecipe
impl Unpin for TableGridRecipe
impl UnsafeUnpin for TableGridRecipe
impl UnwindSafe for TableGridRecipe
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