pub struct VideoInputsEvent {
pub descs: Vec<VideoInputDesc>,
}
Fields§
§descs: Vec<VideoInputDesc>
Implementations§
Source§impl VideoInputsEvent
impl VideoInputsEvent
pub fn find_device(&self, name: &str) -> usize
pub fn find_highest( &self, device_index: usize, ) -> Vec<(VideoInputId, VideoFormatId)>
pub fn find_highest_at_res( &self, device_index: usize, width: usize, height: usize, max_fps: f64, ) -> Vec<(VideoInputId, VideoFormatId)>
pub fn find_format( &self, device_index: usize, width: usize, height: usize, pixel_format: VideoPixelFormat, ) -> Vec<(VideoInputId, VideoFormatId)>
Trait Implementations§
Source§impl Clone for VideoInputsEvent
impl Clone for VideoInputsEvent
Source§fn clone(&self) -> VideoInputsEvent
fn clone(&self) -> VideoInputsEvent
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 moreAuto Trait Implementations§
impl Freeze for VideoInputsEvent
impl RefUnwindSafe for VideoInputsEvent
impl Send for VideoInputsEvent
impl Sync for VideoInputsEvent
impl Unpin for VideoInputsEvent
impl UnwindSafe for VideoInputsEvent
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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