pub struct MarkerSlice {
pub weight: f64,
pub color: RGBAColor,
}Expand description
A colored, weighted marker slice.
Fields§
§weight: f64Positive finite relative weight.
color: RGBAColorFill colour.
Implementations§
Trait Implementations§
Source§impl Clone for MarkerSlice
impl Clone for MarkerSlice
impl Copy for MarkerSlice
Source§impl Debug for MarkerSlice
impl Debug for MarkerSlice
Source§impl PartialEq for MarkerSlice
impl PartialEq for MarkerSlice
impl StructuralPartialEq for MarkerSlice
Auto Trait Implementations§
impl Freeze for MarkerSlice
impl RefUnwindSafe for MarkerSlice
impl Send for MarkerSlice
impl Sync for MarkerSlice
impl Unpin for MarkerSlice
impl UnsafeUnpin for MarkerSlice
impl UnwindSafe for MarkerSlice
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