#[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 Freeze for FrmSizeStepwise
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