pub trait GridViewStyle: 'static {
// Provided methods
fn focus_ring(&self) -> GridFocusRingRecipe { ... }
fn marquee(&self) -> GridMarqueeRecipe { ... }
fn insertion(&self) -> GridInsertionRecipe { ... }
fn pinned_header_surface(&self) -> SurfaceRole { ... }
}Expand description
Tier-3 style protocol for GridView.
Every method has a default returning the stock recipe, so a custom style
only overrides the decoration it cares about.
Provided Methods§
Sourcefn focus_ring(&self) -> GridFocusRingRecipe
fn focus_ring(&self) -> GridFocusRingRecipe
Focus-ring chrome painted around the keyboard-focused tile.
Sourcefn marquee(&self) -> GridMarqueeRecipe
fn marquee(&self) -> GridMarqueeRecipe
Rubber-band marquee rectangle chrome.
Sourcefn insertion(&self) -> GridInsertionRecipe
fn insertion(&self) -> GridInsertionRecipe
Drag-reorder insertion-bar chrome.
Sourcefn pinned_header_surface(&self) -> SurfaceRole
fn pinned_header_surface(&self) -> SurfaceRole
Opaque background surface role for the sticky pinned section header.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".