pub struct RecordedSample {
pub time: f32,
pub value: f64,
}Expand description
A recorded scalar sample.
Fields§
§time: f32Absolute time in seconds.
value: f64Recorded scalar value.
Trait Implementations§
Source§impl Clone for RecordedSample
impl Clone for RecordedSample
Source§fn clone(&self) -> RecordedSample
fn clone(&self) -> RecordedSample
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RecordedSample
Source§impl Debug for RecordedSample
impl Debug for RecordedSample
Source§impl PartialEq for RecordedSample
impl PartialEq for RecordedSample
Source§fn eq(&self, other: &RecordedSample) -> bool
fn eq(&self, other: &RecordedSample) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RecordedSample
Auto Trait Implementations§
impl Freeze for RecordedSample
impl RefUnwindSafe for RecordedSample
impl Send for RecordedSample
impl Sync for RecordedSample
impl Unpin for RecordedSample
impl UnsafeUnpin for RecordedSample
impl UnwindSafe for RecordedSample
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