Struct linux_video_core::CaptureParm
source · #[repr(C)]pub struct CaptureParm { /* private fields */ }
Implementations§
source§impl CaptureParm
impl CaptureParm
pub fn capability(&self) -> IoCapabilityFlag
pub fn capture_mode(&self) -> IoMode
pub fn time_per_frame(&self) -> Fract
pub fn extended_mode(&self) -> u32
pub fn read_buffers(&self) -> u32
source§impl CaptureParm
impl CaptureParm
pub fn set_capability(&mut self, val: IoCapabilityFlag) -> &mut Self
pub fn set_capture_mode(&mut self, val: IoMode) -> &mut Self
pub fn set_time_per_frame(&mut self, val: Fract) -> &mut Self
pub fn set_extended_mode(&mut self, val: u32) -> &mut Self
pub fn set_read_buffers(&mut self, val: u32) -> &mut Self
Trait Implementations§
source§impl Clone for CaptureParm
impl Clone for CaptureParm
source§fn clone(&self) -> CaptureParm
fn clone(&self) -> CaptureParm
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 CaptureParm
impl Debug for CaptureParm
impl Copy for CaptureParm
Auto Trait Implementations§
impl RefUnwindSafe for CaptureParm
impl Send for CaptureParm
impl Sync for CaptureParm
impl Unpin for CaptureParm
impl UnwindSafe for CaptureParm
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