pub struct Leader {
pub payload_type: u16,
pub timestamp: u64,
pub pixel_format: u32,
pub width: u32,
pub height: u32,
pub x_offset: u32,
pub y_offset: u32,
pub x_padding: u16,
}Expand description
Parsed U3V stream leader (image metadata).
Fields§
§payload_type: u16Payload type (0x0001 = image, 0x0002 = image extended, 0x4001 = chunk).
timestamp: u64Device timestamp in ticks.
pixel_format: u32PFNC pixel format code.
width: u32Image width in pixels.
height: u32Image height in pixels.
x_offset: u32X offset (ROI).
y_offset: u32Y offset (ROI).
x_padding: u16Horizontal padding bytes per line.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Leader
impl RefUnwindSafe for Leader
impl Send for Leader
impl Sync for Leader
impl Unpin for Leader
impl UnsafeUnpin for Leader
impl UnwindSafe for Leader
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