pub struct VideoParams {
pub width: u16,
pub height: u16,
pub pixel_aspect: Option<(u32, u32)>,
}Fields§
§width: u16§height: u16§pixel_aspect: Option<(u32, u32)>Trait Implementations§
Source§impl Clone for VideoParams
impl Clone for VideoParams
Source§fn clone(&self) -> VideoParams
fn clone(&self) -> VideoParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VideoParams
impl Debug for VideoParams
Source§impl Default for VideoParams
impl Default for VideoParams
Source§fn default() -> VideoParams
fn default() -> VideoParams
Returns the “default value” for a type. Read more
Source§impl PartialEq for VideoParams
impl PartialEq for VideoParams
Source§fn eq(&self, other: &VideoParams) -> bool
fn eq(&self, other: &VideoParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for VideoParams
impl Eq for VideoParams
impl StructuralPartialEq for VideoParams
Auto Trait Implementations§
impl Freeze for VideoParams
impl RefUnwindSafe for VideoParams
impl Send for VideoParams
impl Sync for VideoParams
impl Unpin for VideoParams
impl UnsafeUnpin for VideoParams
impl UnwindSafe for VideoParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more