pub struct VideoResolution {
pub width: u32,
pub height: u32,
}Fields§
§width: u32§height: u32Trait 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 moreSource§impl Debug for VideoResolution
impl Debug for VideoResolution
Source§impl Default for VideoResolution
impl Default for VideoResolution
Source§fn default() -> VideoResolution
fn default() -> VideoResolution
Returns the “default value” for a type. Read more
Source§impl From<VideoResolution> for VideoResolution
impl From<VideoResolution> for VideoResolution
Source§fn from(res: VideoResolution) -> VideoResolution
fn from(res: VideoResolution) -> VideoResolution
Converts to this type from the input type.
Auto 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