pub struct Anchor {
pub time: Timestamp,
pub price: f64,
}Expand description
A point of a drawing in data space.
Fields§
§time: TimestampTime (UTC milliseconds); need not be a bar time.
price: f64Price, in the units of the pane’s first price series.
Trait Implementations§
impl Copy for Anchor
impl StructuralPartialEq for Anchor
Auto Trait Implementations§
impl Forget for Anchor
impl Freeze for Anchor
impl Move for Anchor
impl RefUnwindSafe for Anchor
impl Send for Anchor
impl Sync for Anchor
impl Unpin for Anchor
impl UnsafeUnpin for Anchor
impl UnwindSafe for Anchor
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