pub struct VideoFrameView {
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 format: PixelFormat,
pub kind: ViewKind,
pub eye: Eye,
}Expand description
A view rectangle inside one of the frame’s textures. End coordinates are exclusive and may be smaller than the start (flips).
Fields§
§start_x: u32§start_y: u32§end_x: u32§end_y: u32§texture_index: u32§array_layer_index: u32§format: PixelFormat§kind: ViewKind§eye: EyeTrait Implementations§
Source§impl Clone for VideoFrameView
impl Clone for VideoFrameView
impl Copy for VideoFrameView
Source§impl Debug for VideoFrameView
impl Debug for VideoFrameView
impl Eq for VideoFrameView
Source§impl PartialEq for VideoFrameView
impl PartialEq for VideoFrameView
impl StructuralPartialEq for VideoFrameView
Auto Trait Implementations§
impl Freeze for VideoFrameView
impl RefUnwindSafe for VideoFrameView
impl Send for VideoFrameView
impl Sync for VideoFrameView
impl Unpin for VideoFrameView
impl UnsafeUnpin for VideoFrameView
impl UnwindSafe for VideoFrameView
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