#[repr(C, packed(1))]pub struct _LEAP_FRAME_HEADER {
pub reserved: *mut c_void,
pub frame_id: i64,
pub timestamp: i64,
}Expand description
\ingroup Structs Identifying information for a frame of tracking data. @since 3.0.0
Fields§
§reserved: *mut c_voidReserved, set to zero. @since 3.0.0
frame_id: i64A unique identifier for this frame
All frames carrying this frame ID are part of the same unit of processing. This counter is generally an increasing counter, but may reset to another value if the user stops and restarts streaming.
For interpolated frames, this value corresponds to the identifier of the frame upper bound. @since 3.0.0
timestamp: i64The timestamp for this image, in microseconds, referenced against LeapGetNow(). @since 3.0.0
Trait Implementations§
Source§impl Clone for _LEAP_FRAME_HEADER
impl Clone for _LEAP_FRAME_HEADER
Source§fn clone(&self) -> _LEAP_FRAME_HEADER
fn clone(&self) -> _LEAP_FRAME_HEADER
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 _LEAP_FRAME_HEADER
impl Debug for _LEAP_FRAME_HEADER
impl Copy for _LEAP_FRAME_HEADER
Auto Trait Implementations§
impl Freeze for _LEAP_FRAME_HEADER
impl RefUnwindSafe for _LEAP_FRAME_HEADER
impl !Send for _LEAP_FRAME_HEADER
impl !Sync for _LEAP_FRAME_HEADER
impl Unpin for _LEAP_FRAME_HEADER
impl UnwindSafe for _LEAP_FRAME_HEADER
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