pub struct CleanAperture {
pub width: (u32, u32),
pub height: (u32, u32),
pub horiz_offset: (i32, u32),
pub vert_offset: (i32, u32),
}Expand description
Clean aperture (MP4/QuickTime clap): the picture region meant for
display, as exact rationals (numerator, denominator). The offsets are of
the aperture’s centre from the picture’s centre, so (0, 1) is centred.
Fields§
§width: (u32, u32)§height: (u32, u32)§horiz_offset: (i32, u32)§vert_offset: (i32, u32)Trait Implementations§
Source§impl Clone for CleanAperture
impl Clone for CleanAperture
impl Copy for CleanAperture
Source§impl Debug for CleanAperture
impl Debug for CleanAperture
impl Eq for CleanAperture
Source§impl Hash for CleanAperture
impl Hash for CleanAperture
Source§impl PartialEq for CleanAperture
impl PartialEq for CleanAperture
impl StructuralPartialEq for CleanAperture
Auto Trait Implementations§
impl Forget for CleanAperture
impl Freeze for CleanAperture
impl Move for CleanAperture
impl RefUnwindSafe for CleanAperture
impl Send for CleanAperture
impl Sync for CleanAperture
impl Unpin for CleanAperture
impl UnsafeUnpin for CleanAperture
impl UnwindSafe for CleanAperture
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