pub struct PixelAspectRatio {
pub h_spacing: u32,
pub v_spacing: u32,
}Expand description
Pixel aspect ratio from the pasp property box.
For AVIF, the spec requires this to be 1:1 if present. See ISOBMFF § 12.1.4.
Fields§
§h_spacing: u32Horizontal spacing
v_spacing: u32Vertical spacing
Trait Implementations§
Source§impl Clone for PixelAspectRatio
impl Clone for PixelAspectRatio
Source§fn clone(&self) -> PixelAspectRatio
fn clone(&self) -> PixelAspectRatio
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 PixelAspectRatio
impl Debug for PixelAspectRatio
Source§impl PartialEq for PixelAspectRatio
impl PartialEq for PixelAspectRatio
impl Copy for PixelAspectRatio
impl Eq for PixelAspectRatio
impl StructuralPartialEq for PixelAspectRatio
Auto Trait Implementations§
impl Freeze for PixelAspectRatio
impl RefUnwindSafe for PixelAspectRatio
impl Send for PixelAspectRatio
impl Sync for PixelAspectRatio
impl Unpin for PixelAspectRatio
impl UnwindSafe for PixelAspectRatio
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