pub struct MathGraph {
pub function: MathFunction,
pub time_range: (f32, f32),
pub columns: usize,
pub rows: usize,
pub graph_color: Vec4,
pub axis_color: Vec4,
pub bg_color: Vec4,
pub label: Option<String>,
}Expand description
Renders a MathFunction as a real-time scrolling oscilloscope graph.
Fields§
§function: MathFunction§time_range: (f32, f32)Time range to sample: (start_offset_behind_now, end_offset_ahead).
columns: usize§rows: usize§graph_color: Vec4§axis_color: Vec4§bg_color: Vec4§label: Option<String>Implementations§
Auto Trait Implementations§
impl Freeze for MathGraph
impl RefUnwindSafe for MathGraph
impl Send for MathGraph
impl Sync for MathGraph
impl Unpin for MathGraph
impl UnsafeUnpin for MathGraph
impl UnwindSafe for MathGraph
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