#[repr(C)]pub struct mbuf_raw_video_frame_queue_args {
pub filter: mbuf_raw_video_frame_queue_filter_t,
pub filter_userdata: *mut c_void,
pub max_frames: u32,
}Expand description
Arguments structure for mbuf_raw_video_frame_queue_new_with_args.
Fields§
§filter: mbuf_raw_video_frame_queue_filter_tFrame filtering function
filter_userdata: *mut c_voidUserdata for the frame filtering function
max_frames: u32Maximum number of frames in the queue. If max_frames+1 frames are pushed in the queue, the oldest frame will be dropped.
Trait Implementations§
Source§impl Clone for mbuf_raw_video_frame_queue_args
impl Clone for mbuf_raw_video_frame_queue_args
Source§fn clone(&self) -> mbuf_raw_video_frame_queue_args
fn clone(&self) -> mbuf_raw_video_frame_queue_args
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 moreimpl Copy for mbuf_raw_video_frame_queue_args
Auto Trait Implementations§
impl Freeze for mbuf_raw_video_frame_queue_args
impl RefUnwindSafe for mbuf_raw_video_frame_queue_args
impl !Send for mbuf_raw_video_frame_queue_args
impl !Sync for mbuf_raw_video_frame_queue_args
impl Unpin for mbuf_raw_video_frame_queue_args
impl UnwindSafe for mbuf_raw_video_frame_queue_args
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