Struct linux_video_core::FrmSizeStepwise
source · #[repr(C)]pub struct FrmSizeStepwise { /* private fields */ }
Expand description
Stepwise frame sizes
Implementations§
source§impl FrmSizeStepwise
impl FrmSizeStepwise
sourcepub fn try_get(&self, index: u32) -> Option<FrmSizeDiscrete>
pub fn try_get(&self, index: u32) -> Option<FrmSizeDiscrete>
Try get discrete frame size by index
source§impl FrmSizeStepwise
impl FrmSizeStepwise
sourcepub fn step_width(&self) -> u32
pub fn step_width(&self) -> u32
Width step in pixels
sourcepub fn min_height(&self) -> u32
pub fn min_height(&self) -> u32
Minimum height in pixels
sourcepub fn max_height(&self) -> u32
pub fn max_height(&self) -> u32
Maximum height in pixels
sourcepub fn step_height(&self) -> u32
pub fn step_height(&self) -> u32
Height step in pixels
Trait Implementations§
source§impl Clone for FrmSizeStepwise
impl Clone for FrmSizeStepwise
source§fn clone(&self) -> FrmSizeStepwise
fn clone(&self) -> FrmSizeStepwise
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 FrmSizeStepwise
impl Debug for FrmSizeStepwise
source§impl Display for FrmSizeStepwise
impl Display for FrmSizeStepwise
source§impl IsFrmSizeData for FrmSizeStepwise
impl IsFrmSizeData for FrmSizeStepwise
const TYPES: &'static [FrmSizeType] = _
impl Copy for FrmSizeStepwise
Auto Trait Implementations§
impl RefUnwindSafe for FrmSizeStepwise
impl Send for FrmSizeStepwise
impl Sync for FrmSizeStepwise
impl Unpin for FrmSizeStepwise
impl UnwindSafe for FrmSizeStepwise
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