pub struct VideoFormat {
    pub format_id: VideoFormatId,
    pub width: usize,
    pub height: usize,
    pub frame_rate: Option<f64>,
    pub pixel_format: VideoPixelFormat,
}Fields§
§format_id: VideoFormatId§width: usize§height: usize§frame_rate: Option<f64>§pixel_format: VideoPixelFormatTrait Implementations§
Source§impl Clone for VideoFormat
 
impl Clone for VideoFormat
Source§fn clone(&self) -> VideoFormat
 
fn clone(&self) -> VideoFormat
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 VideoFormat
 
impl Debug for VideoFormat
impl Copy for VideoFormat
Auto Trait Implementations§
impl Freeze for VideoFormat
impl RefUnwindSafe for VideoFormat
impl Send for VideoFormat
impl Sync for VideoFormat
impl Unpin for VideoFormat
impl UnwindSafe for VideoFormat
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