pub struct Span {
pub row: String,
pub start: f64,
pub end: f64,
pub style: Option<String>,
}Expand description
A range on a Timeline: the row it goes on, where it starts and where
it ends.
Fields§
§row: StringThe row’s label. Spans with the same label share a row.
start: f64Where the range starts.
end: f64Where the range ends (at or after start).
style: Option<String>A theme key or style definition, instead of the row’s
chart.series.N.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Span
Auto Trait Implementations§
impl Freeze for Span
impl RefUnwindSafe for Span
impl Send for Span
impl Sync for Span
impl Unpin for Span
impl UnsafeUnpin for Span
impl UnwindSafe for Span
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