#[repr(C)]pub struct VSLFrameRate {
pub numerator: u32,
pub denominator: u32,
}Expand description
Frame rate descriptor
Fields§
§numerator: u32< Frame interval numerator (e.g., 1)
denominator: u32< Frame interval denominator (e.g., 30 for 30fps)
Trait Implementations§
Source§impl Clone for VSLFrameRate
impl Clone for VSLFrameRate
Source§fn clone(&self) -> VSLFrameRate
fn clone(&self) -> VSLFrameRate
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 VSLFrameRate
impl Debug for VSLFrameRate
impl Copy for VSLFrameRate
Auto Trait Implementations§
impl Freeze for VSLFrameRate
impl RefUnwindSafe for VSLFrameRate
impl Send for VSLFrameRate
impl Sync for VSLFrameRate
impl Unpin for VSLFrameRate
impl UnsafeUnpin for VSLFrameRate
impl UnwindSafe for VSLFrameRate
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