pub struct SpacetimePoint {
pub t: f64,
pub x: f64,
}Expand description
A spacetime event expressed as a (time, position) coordinate pair.
In the financial interpretation:
tis elapsed time since the series start, normalized to a convenient scale (e.g., seconds, or fraction of the session).xis normalized log-price or normalized price.
Fields§
§t: f64Time coordinate.
x: f64Spatial (price) coordinate.
Implementations§
Trait Implementations§
Source§impl Clone for SpacetimePoint
impl Clone for SpacetimePoint
Source§fn clone(&self) -> SpacetimePoint
fn clone(&self) -> SpacetimePoint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpacetimePoint
impl Debug for SpacetimePoint
Source§impl PartialEq for SpacetimePoint
impl PartialEq for SpacetimePoint
impl Copy for SpacetimePoint
impl StructuralPartialEq for SpacetimePoint
Auto Trait Implementations§
impl Freeze for SpacetimePoint
impl RefUnwindSafe for SpacetimePoint
impl Send for SpacetimePoint
impl Sync for SpacetimePoint
impl Unpin for SpacetimePoint
impl UnsafeUnpin for SpacetimePoint
impl UnwindSafe for SpacetimePoint
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