#[repr(C)]pub struct SequenceHeader {
pub unit: URID,
pub pad: u32,
}Expand description
The header of a sequence.
It contains the time unit used by the time stamp of every event.
This type is repr(C) and is used to interpret raw data.
Fields§
§unit: URID§pad: u32Trait Implementations§
Source§impl ArrayAtomHeader for SequenceHeader
impl ArrayAtomHeader for SequenceHeader
Source§type InitializationParameter = TimeUnit
type InitializationParameter = TimeUnit
Type of the parameter for
initialize.Source§unsafe fn initialize<'a, W, T>(
writer: &mut W,
unit: &TimeUnit,
urids: &mut CachedMap,
) -> Result<(), ()>where
T: 'static + Sized + Copy,
ArrayAtomBody<Self, T>: AtomBody,
W: WritingFrame<'a> + WritingFrameExt<'a, ArrayAtomBody<Self, T>>,
unsafe fn initialize<'a, W, T>(
writer: &mut W,
unit: &TimeUnit,
urids: &mut CachedMap,
) -> Result<(), ()>where
T: 'static + Sized + Copy,
ArrayAtomBody<Self, T>: AtomBody,
W: WritingFrame<'a> + WritingFrameExt<'a, ArrayAtomBody<Self, T>>,
Write out the array atom header. Read more
Auto Trait Implementations§
impl Freeze for SequenceHeader
impl RefUnwindSafe for SequenceHeader
impl Send for SequenceHeader
impl Sync for SequenceHeader
impl Unpin for SequenceHeader
impl UnwindSafe for SequenceHeader
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