pub struct UiPlotConfig {
pub color: Color,
pub x_min: f32,
pub x_max: f32,
pub y_min: f32,
pub y_max: f32,
pub auto_scale: bool,
pub show_grid: bool,
pub fill: bool,
pub antialias_samples: u32,
pub line_width: f32,
pub draw_surface: bool,
}Fields§
§color: ColorSeries line color.
x_min: f32X-axis minimum (screen-space sample domain when not auto-scaled).
x_max: f32X-axis maximum.
y_min: f32Y-axis minimum, used when auto_scale is false.
y_max: f32Y-axis maximum, used when auto_scale is false.
auto_scale: boolResolve Y bounds from finite samples.
show_grid: boolDraw the chart grid behind the series.
fill: boolFill under the series line.
antialias_samples: u32Compute-line rasterization samples; the implemented set is 1/4/8. Other values resolve to four samples rather than naming MSAA on a storage-image path.
line_width: f32Rasterized line width in pixels.
draw_surface: boolPaint the themed plot surface before drawing.
Trait Implementations§
Source§impl Clone for UiPlotConfig
impl Clone for UiPlotConfig
impl Copy for UiPlotConfig
Source§impl Debug for UiPlotConfig
impl Debug for UiPlotConfig
Source§impl Default for UiPlotConfig
impl Default for UiPlotConfig
Source§impl PartialEq for UiPlotConfig
impl PartialEq for UiPlotConfig
impl StructuralPartialEq for UiPlotConfig
Auto Trait Implementations§
impl Forget for UiPlotConfig
impl Freeze for UiPlotConfig
impl Move for UiPlotConfig
impl RefUnwindSafe for UiPlotConfig
impl Send for UiPlotConfig
impl Sync for UiPlotConfig
impl Unpin for UiPlotConfig
impl UnsafeUnpin for UiPlotConfig
impl UnwindSafe for UiPlotConfig
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