Struct obs_sys::obs_source_frame2
source · [−]#[repr(C)]pub struct obs_source_frame2 {
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,
}Fields
data: [*mut u8; 8]linesize: [u32; 8]width: u32height: u32timestamp: u64format: video_formatrange: video_range_typecolor_matrix: [f32; 16]color_range_min: [f32; 3]color_range_max: [f32; 3]flip: boolTrait 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 more
sourceimpl 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