pub struct RuleMark {
pub segments: Vec<([f32; 2], [f32; 2])>,
pub stroke: StrokeStyle,
}Expand description
A rule (grid line, reference line, whisker).
Fields§
§segments: Vec<([f32; 2], [f32; 2])>Line segments as (start, end) pairs.
stroke: StrokeStyleLine style.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RuleMark
impl RefUnwindSafe for RuleMark
impl Send for RuleMark
impl Sync for RuleMark
impl Unpin for RuleMark
impl UnsafeUnpin for RuleMark
impl UnwindSafe for RuleMark
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