pub struct VideoResolution {
pub width: u32,
pub height: u32,
pub frame_rate: f64,
pub aspect_ratio: f32,
}Fields§
§width: u32§height: u32§frame_rate: f64§aspect_ratio: f32Trait Implementations§
Source§impl Clone for VideoResolution
impl Clone for VideoResolution
Source§fn clone(&self) -> VideoResolution
fn clone(&self) -> VideoResolution
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 moreAuto Trait Implementations§
impl Freeze for VideoResolution
impl RefUnwindSafe for VideoResolution
impl Send for VideoResolution
impl Sync for VideoResolution
impl Unpin for VideoResolution
impl UnsafeUnpin for VideoResolution
impl UnwindSafe for VideoResolution
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