Struct libspa_sys::spa_io_video_size
source · #[repr(C)]pub struct spa_io_video_size {
pub flags: u32,
pub stride: u32,
pub size: spa_rectangle,
pub framerate: spa_fraction,
pub padding: [u32; 4],
}
Fields§
§flags: u32
< optional flags
stride: u32
< video stride in bytes
size: spa_rectangle
< the video size
framerate: spa_fraction
< the minimum framerate, the cycle duration is always smaller to ensure there is only one video frame per cycle.
padding: [u32; 4]
Trait Implementations§
source§impl Clone for spa_io_video_size
impl Clone for spa_io_video_size
source§fn clone(&self) -> spa_io_video_size
fn clone(&self) -> spa_io_video_size
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 spa_io_video_size
impl Debug for spa_io_video_size
source§impl PartialEq for spa_io_video_size
impl PartialEq for spa_io_video_size
source§fn eq(&self, other: &spa_io_video_size) -> bool
fn eq(&self, other: &spa_io_video_size) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for spa_io_video_size
impl Eq for spa_io_video_size
impl StructuralPartialEq for spa_io_video_size
Auto Trait Implementations§
impl RefUnwindSafe for spa_io_video_size
impl Send for spa_io_video_size
impl Sync for spa_io_video_size
impl Unpin for spa_io_video_size
impl UnwindSafe for spa_io_video_size
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