#[repr(C)]pub struct NDIlib_video_frame_t {
pub xres: c_int,
pub yres: c_int,
pub FourCC: NDIlib_FourCC_video_type_e,
pub frame_rate_N: c_int,
pub frame_rate_D: c_int,
pub picture_aspect_ratio: f32,
pub frame_format_type: NDIlib_frame_format_type_e,
pub timecode: i64,
pub p_data: *mut u8,
pub line_stride_in_bytes: c_int,
}Fields§
§xres: c_int§yres: c_int§FourCC: NDIlib_FourCC_video_type_e§frame_rate_N: c_int§frame_rate_D: c_int§picture_aspect_ratio: f32§frame_format_type: NDIlib_frame_format_type_e§timecode: i64§p_data: *mut u8§line_stride_in_bytes: c_intTrait Implementations§
Source§impl Clone for NDIlib_video_frame_t
impl Clone for NDIlib_video_frame_t
Source§fn clone(&self) -> NDIlib_video_frame_t
fn clone(&self) -> NDIlib_video_frame_t
Returns a duplicate 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 NDIlib_video_frame_t
impl Debug for NDIlib_video_frame_t
impl Copy for NDIlib_video_frame_t
Auto Trait Implementations§
impl Freeze for NDIlib_video_frame_t
impl RefUnwindSafe for NDIlib_video_frame_t
impl !Send for NDIlib_video_frame_t
impl !Sync for NDIlib_video_frame_t
impl Unpin for NDIlib_video_frame_t
impl UnwindSafe for NDIlib_video_frame_t
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