#[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§
Source§impl Clone for obs_source_frame2
impl Clone for obs_source_frame2
Source§fn clone(&self) -> obs_source_frame2
fn clone(&self) -> obs_source_frame2
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for obs_source_frame2
impl Debug for obs_source_frame2
Source§impl PartialEq for obs_source_frame2
impl PartialEq for obs_source_frame2
Source§impl PartialOrd for obs_source_frame2
impl PartialOrd for obs_source_frame2
impl Copy for obs_source_frame2
impl StructuralPartialEq for obs_source_frame2
Auto Trait Implementations§
impl Freeze for obs_source_frame2
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§
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