pub struct PlotConfig<'a> {
pub ui: &'a Ui,
pub transform: &'a PlotTransform,
pub show_x: bool,
pub show_y: bool,
pub show_crosshair: bool,
}Expand description
Container to pass-through several parameters related to plot visualization
Fields§
§ui: &'a UiReference to the UI.
transform: &'a PlotTransformReference to the plot transform.
show_x: boolWhether to show the x-axis value.
show_y: boolWhether to show the y-axis value.
show_crosshair: boolWhether to show the crosshair rulers.
Auto Trait Implementations§
impl<'a> Freeze for PlotConfig<'a>
impl<'a> !RefUnwindSafe for PlotConfig<'a>
impl<'a> Send for PlotConfig<'a>
impl<'a> Sync for PlotConfig<'a>
impl<'a> Unpin for PlotConfig<'a>
impl<'a> UnsafeUnpin for PlotConfig<'a>
impl<'a> !UnwindSafe for PlotConfig<'a>
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