pub struct Cut {
pub index: usize,
pub time_s: f64,
pub top_speed_s: f64,
pub top_speed_m_s: f64,
}Expand description
Where the boost’s log is cut.
Fields§
§index: usizeThe index of the last sample the finder read, the cut’s: in the log’s own clock’s samples, or, on a log of channels alone, in its track’s channel up to its first time out of order.
time_s: f64That sample’s time on the log’s clock, s. The log is kept up to it, inclusive.
top_speed_s: f64The end of the window whose fitted speed was the top, s.
top_speed_m_s: f64That top speed, m/s.
Trait Implementations§
impl Copy for Cut
Source§impl<'de> Deserialize<'de> for Cut
impl<'de> Deserialize<'de> for Cut
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Cut
Auto Trait Implementations§
impl Freeze for Cut
impl RefUnwindSafe for Cut
impl Send for Cut
impl Sync for Cut
impl Unpin for Cut
impl UnsafeUnpin for Cut
impl UnwindSafe for Cut
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