#[non_exhaustive]pub enum SyncMessage {
Crosshair {
time: Option<Timestamp>,
},
VisibleRange {
from: Timestamp,
to: Timestamp,
},
}Expand description
A message between synced charts.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Crosshair
The crosshair is at time (extrapolated past the data), or was
removed (None).
VisibleRange
The plot shows times from..to (left and right edges, interpolated
between bars and extrapolated past the data).
Trait Implementations§
Source§impl Clone for SyncMessage
impl Clone for SyncMessage
impl Copy for SyncMessage
Source§impl Debug for SyncMessage
impl Debug for SyncMessage
impl Eq for SyncMessage
Source§impl PartialEq for SyncMessage
impl PartialEq for SyncMessage
impl StructuralPartialEq for SyncMessage
Auto Trait Implementations§
impl Forget for SyncMessage
impl Freeze for SyncMessage
impl Move for SyncMessage
impl RefUnwindSafe for SyncMessage
impl Send for SyncMessage
impl Sync for SyncMessage
impl Unpin for SyncMessage
impl UnsafeUnpin for SyncMessage
impl UnwindSafe for SyncMessage
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