pub struct Orientation {
pub color: Color,
pub radius: i64,
}
Expand description
Oriented point with fixed with and variable angle used to plot data.
This is suitable for plotting data points with direction such as vector fields or velocity flows. For each data point, you have to also provide an angle indicating the orientation.
Fields§
§color: Color
Color of plotted line segment.
radius: i64
The “radius” of the line segment. This is a placeholder hack for a more robust system that uses a proper definition of length.
Implementations§
Auto Trait Implementations§
impl Freeze for Orientation
impl RefUnwindSafe for Orientation
impl Send for Orientation
impl Sync for Orientation
impl Unpin for Orientation
impl UnwindSafe for Orientation
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