pub struct AreaMark {
pub upper: Vec<[f32; 2]>,
pub lower: Vec<[f32; 2]>,
pub fill: FillStyle,
pub stroke: StrokeStyle,
}Expand description
A filled area between two lines.
Fields§
§upper: Vec<[f32; 2]>Upper boundary points.
lower: Vec<[f32; 2]>Lower boundary points (same x-values, different y).
fill: FillStyleFill style.
stroke: StrokeStyleStroke for the boundary lines.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AreaMark
impl RefUnwindSafe for AreaMark
impl Send for AreaMark
impl Sync for AreaMark
impl Unpin for AreaMark
impl UnsafeUnpin for AreaMark
impl UnwindSafe for AreaMark
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