pub struct RectMark {
pub bounds: BoundingBox,
pub fill: FillStyle,
pub stroke: StrokeStyle,
pub corner_radius: f32,
}Expand description
A rectangle (bars, heatmap cells).
Fields§
§bounds: BoundingBoxPosition and size.
fill: FillStyleFill style.
stroke: StrokeStyleStroke style.
corner_radius: f32Corner radius for rounded rectangles.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RectMark
impl RefUnwindSafe for RectMark
impl Send for RectMark
impl Sync for RectMark
impl Unpin for RectMark
impl UnsafeUnpin for RectMark
impl UnwindSafe for RectMark
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