#[repr(C)]pub struct VSLResolution {
pub width: u32,
pub height: u32,
pub frame_rates: [VSLFrameRate; 16],
pub num_frame_rates: usize,
}Expand description
Resolution descriptor with supported frame rates
Fields§
§width: u32< Width in pixels
height: u32< Height in pixels
frame_rates: [VSLFrameRate; 16]< Supported frame rates
num_frame_rates: usize< Number of 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