#[repr(C)]pub struct VSLResolution {
pub width: u32,
pub height: u32,
pub frame_rates: [VSLFrameRate; 16],
pub num_frame_rates: usize,
}Expand description
@struct VSLResolution @brief Video resolution with supported frame rates
Describes a supported resolution and its available frame rates,
as enumerated via VIDIOC_ENUM_FRAMESIZES and VIDIOC_ENUM_FRAMEINTERVALS.
@since 2.2
Fields§
§width: u32Width in pixels
height: u32Height in pixels
frame_rates: [VSLFrameRate; 16]Array of supported frame rates
num_frame_rates: usizeNumber of valid entries in frame_rates
Trait Implementations§
Source§impl Clone for VSLResolution
impl Clone for VSLResolution
Source§fn clone(&self) -> VSLResolution
fn clone(&self) -> VSLResolution
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 VSLResolution
impl Debug for VSLResolution
impl Copy for VSLResolution
Auto Trait Implementations§
impl Freeze for VSLResolution
impl RefUnwindSafe for VSLResolution
impl Send for VSLResolution
impl Sync for VSLResolution
impl Unpin for VSLResolution
impl UnsafeUnpin for VSLResolution
impl UnwindSafe for VSLResolution
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