#[repr(C)]pub struct QarVideoFrameView {
pub start_x: u32,
pub start_y: u32,
pub end_x: u32,
pub end_y: u32,
pub texture_index: u32,
pub array_layer_index: u32,
pub texture_format: QarPixelFormat,
pub data_type: QarVideoFrameViewType,
pub eye: QarVideoFrameViewEye,
}Expand description
@brief Video sub-stream view into a texture.
Defines the view rectangle corners in pixels. End values are exclusive and can be smaller than start values to allow flips.
Fields§
§start_x: u32§start_y: u32§end_x: u32§end_y: u32§texture_index: u32§array_layer_index: u32§texture_format: QarPixelFormat§data_type: QarVideoFrameViewType§eye: QarVideoFrameViewEyeTrait Implementations§
Source§impl Clone for QarVideoFrameView
impl Clone for QarVideoFrameView
impl Copy for QarVideoFrameView
Source§impl Debug for QarVideoFrameView
impl Debug for QarVideoFrameView
Source§impl PartialEq for QarVideoFrameView
impl PartialEq for QarVideoFrameView
impl StructuralPartialEq for QarVideoFrameView
Auto Trait Implementations§
impl Freeze for QarVideoFrameView
impl RefUnwindSafe for QarVideoFrameView
impl Send for QarVideoFrameView
impl Sync for QarVideoFrameView
impl Unpin for QarVideoFrameView
impl UnsafeUnpin for QarVideoFrameView
impl UnwindSafe for QarVideoFrameView
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