pub struct DataSelectionsConfig {
pub visible: bool,
pub refs: Vec<PickedDataRef>,
pub highlight_color: Color,
pub outline_width_px: f32,
pub point_radius_extra_px: f32,
pub contour_width_extra_px: f32,
}Expand description
Visual policy for typed data selections.
The selected records are small stable identities. Every overlay resolves
its geometry from the same current Config and ColumnPool used by the
normal draw, so an axis/range update cannot leave a stored CPU rectangle or
contour segment behind.
Fields§
§visible: bool§refs: Vec<PickedDataRef>§highlight_color: Color§outline_width_px: f32§point_radius_extra_px: f32§contour_width_extra_px: f32Trait Implementations§
Source§impl Clone for DataSelectionsConfig
impl Clone for DataSelectionsConfig
Source§impl Debug for DataSelectionsConfig
impl Debug for DataSelectionsConfig
Source§impl Default for DataSelectionsConfig
impl Default for DataSelectionsConfig
Source§impl<'de> Deserialize<'de> for DataSelectionsConfigwhere
DataSelectionsConfig: Default,
impl<'de> Deserialize<'de> for DataSelectionsConfigwhere
DataSelectionsConfig: Default,
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 PartialEq for DataSelectionsConfig
impl PartialEq for DataSelectionsConfig
Source§impl Serialize for DataSelectionsConfig
impl Serialize for DataSelectionsConfig
impl StructuralPartialEq for DataSelectionsConfig
Auto Trait Implementations§
impl Freeze for DataSelectionsConfig
impl RefUnwindSafe for DataSelectionsConfig
impl Send for DataSelectionsConfig
impl Sync for DataSelectionsConfig
impl Unpin for DataSelectionsConfig
impl UnsafeUnpin for DataSelectionsConfig
impl UnwindSafe for DataSelectionsConfig
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