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