pub struct VideoGeometry {
pub width: u32,
pub height: u32,
}Expand description
Pixel dimensions of a video track.
Fields§
§width: u32Width in pixels.
height: u32Height in pixels.
Trait Implementations§
Source§impl Clone for VideoGeometry
impl Clone for VideoGeometry
Source§fn clone(&self) -> VideoGeometry
fn clone(&self) -> VideoGeometry
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 moreimpl Copy for VideoGeometry
Source§impl Debug for VideoGeometry
impl Debug for VideoGeometry
impl Eq for VideoGeometry
Source§impl Hash for VideoGeometry
impl Hash for VideoGeometry
Source§impl PartialEq for VideoGeometry
impl PartialEq for VideoGeometry
impl StructuralPartialEq for VideoGeometry
Auto Trait Implementations§
impl Freeze for VideoGeometry
impl RefUnwindSafe for VideoGeometry
impl Send for VideoGeometry
impl Sync for VideoGeometry
impl Unpin for VideoGeometry
impl UnsafeUnpin for VideoGeometry
impl UnwindSafe for VideoGeometry
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