Struct leap_sys::_LEAP_FRAME_HEADER
source · [−]#[repr(C, packed)]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_void
Reserved, set to zero. @since 3.0.0
frame_id: i64
A 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: i64
The timestamp for this image, in microseconds, referenced against LeapGetNow(). @since 3.0.0
Trait Implementations
sourceimpl Clone for _LEAP_FRAME_HEADER
impl Clone for _LEAP_FRAME_HEADER
sourcefn clone(&self) -> _LEAP_FRAME_HEADER
fn clone(&self) -> _LEAP_FRAME_HEADER
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for _LEAP_FRAME_HEADER
impl Debug for _LEAP_FRAME_HEADER
impl Copy for _LEAP_FRAME_HEADER
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more