pub struct CleanAperture {
pub width_n: u32,
pub width_d: u32,
pub height_n: u32,
pub height_d: u32,
pub horiz_off_n: i32,
pub horiz_off_d: u32,
pub vert_off_n: i32,
pub vert_off_d: u32,
}Expand description
Clean aperture from the clap property box.
Defines a crop rectangle as a centered region. All values are stored as exact rationals (numerator/denominator). See ISOBMFF § 12.1.4.
Fields§
§width_n: u32Width of the clean aperture (numerator)
width_d: u32Width of the clean aperture (denominator)
height_n: u32Height of the clean aperture (numerator)
height_d: u32Height of the clean aperture (denominator)
horiz_off_n: i32Horizontal offset of the clean aperture center (numerator, signed)
horiz_off_d: u32Horizontal offset of the clean aperture center (denominator)
vert_off_n: i32Vertical offset of the clean aperture center (numerator, signed)
vert_off_d: u32Vertical offset of the clean aperture center (denominator)
Trait Implementations§
Source§impl Clone for CleanAperture
impl Clone for CleanAperture
Source§fn clone(&self) -> CleanAperture
fn clone(&self) -> CleanAperture
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 CleanAperture
impl Debug for CleanAperture
Source§impl PartialEq for CleanAperture
impl PartialEq for CleanAperture
impl Copy for CleanAperture
impl Eq for CleanAperture
impl StructuralPartialEq for CleanAperture
Auto Trait Implementations§
impl Freeze for CleanAperture
impl RefUnwindSafe for CleanAperture
impl Send for CleanAperture
impl Sync for CleanAperture
impl Unpin 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