Struct obs_sys::obs_source_frame2
source · #[repr(C)]pub struct obs_source_frame2 {Show 13 fields
pub data: [*mut u8; 8],
pub linesize: [u32; 8],
pub width: u32,
pub height: u32,
pub timestamp: u64,
pub format: video_format,
pub range: video_range_type,
pub color_matrix: [f32; 16],
pub color_range_min: [f32; 3],
pub color_range_max: [f32; 3],
pub flip: bool,
pub flags: u8,
pub trc: u8,
}
Fields
data: [*mut u8; 8]
linesize: [u32; 8]
width: u32
height: u32
timestamp: u64
format: video_format
range: video_range_type
color_matrix: [f32; 16]
color_range_min: [f32; 3]
color_range_max: [f32; 3]
flip: bool
flags: u8
trc: u8
Trait Implementations
sourceimpl Clone for obs_source_frame2
impl Clone for obs_source_frame2
sourcefn clone(&self) -> obs_source_frame2
fn clone(&self) -> obs_source_frame2
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 moresourceimpl Debug for obs_source_frame2
impl Debug for obs_source_frame2
sourceimpl Default for obs_source_frame2
impl Default for obs_source_frame2
impl Copy for obs_source_frame2
Auto Trait Implementations
impl RefUnwindSafe for obs_source_frame2
impl !Send for obs_source_frame2
impl !Sync for obs_source_frame2
impl Unpin for obs_source_frame2
impl UnwindSafe for obs_source_frame2
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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