#[repr(C)]pub struct MS3TraceSeg {
pub starttime: nstime_t,
pub endtime: nstime_t,
pub samprate: f64,
pub samplecnt: i64,
pub datasamples: *mut c_void,
pub datasize: u64,
pub numsamples: i64,
pub sampletype: c_char,
pub prvtptr: *mut c_void,
pub recordlist: *mut MS3RecordList,
pub prev: *mut MS3TraceSeg,
pub next: *mut MS3TraceSeg,
}Expand description
@brief Container for a continuous trace segment, linkable
Fields§
§starttime: nstime_t!< Time of first sample
endtime: nstime_t!< Time of last sample
samprate: f64!< Nominal sample rate (Hz)
samplecnt: i64!< Number of samples in trace coverage
datasamples: *mut c_void!< Data samples, \a numsamples of type \a sampletype
datasize: u64!< Size of datasamples buffer in bytes
numsamples: i64!< Number of data samples in datasamples
sampletype: c_char!< Sample type code, see @ref sample-types
prvtptr: *mut c_void!< Private pointer for general use, unused by library
recordlist: *mut MS3RecordList!< List of pointers to records that contributed
prev: *mut MS3TraceSeg!< Pointer to previous segment
next: *mut MS3TraceSeg!< Pointer to next segment, NULL if the last
Trait Implementations§
Source§impl Clone for MS3TraceSeg
impl Clone for MS3TraceSeg
Source§fn clone(&self) -> MS3TraceSeg
fn clone(&self) -> MS3TraceSeg
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 MS3TraceSeg
impl Debug for MS3TraceSeg
impl Copy for MS3TraceSeg
Auto Trait Implementations§
impl Freeze for MS3TraceSeg
impl RefUnwindSafe for MS3TraceSeg
impl !Send for MS3TraceSeg
impl !Sync for MS3TraceSeg
impl Unpin for MS3TraceSeg
impl UnwindSafe for MS3TraceSeg
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