pub enum SceneMark {
Bars {
bars: Vec<Bar>,
direction: BarDirection,
},
Path {
series: SeriesRef,
points: Vec<[f64; 2]>,
},
Points {
series: SeriesRef,
points: Vec<[f64; 2]>,
},
Fill {
series: SeriesRef,
points: Vec<[f64; 2]>,
},
}Variants§
Bars
Fields
§
direction: BarDirectionBar orientation. Rect anchors can’t encode it: a bottom-row
horizontal bar has x0 == 0 AND y0 + h == 1, exactly a vertical
bar’s signature — so the direction is carried once per mark.
Path
Points
Fill
Area: fill under the path plus the path itself.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SceneMark
impl RefUnwindSafe for SceneMark
impl Send for SceneMark
impl Sync for SceneMark
impl Unpin for SceneMark
impl UnsafeUnpin for SceneMark
impl UnwindSafe for SceneMark
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