pub struct CleanApertureBox {
pub clean_aperture_width_n: u32,
pub clean_aperture_width_d: u32,
pub clean_aperture_height_n: u32,
pub clean_aperture_height_d: u32,
pub horiz_off_n: u32,
pub horiz_off_d: u32,
pub vert_off_n: u32,
pub vert_off_d: u32,
}Expand description
Clean Aperture Box (clap) — ISO/IEC 14496-12:2015 §12.1.4.2.
Defines the clean aperture width, height, and offset as fractions (N/D). For horizOff and vertOff, D must be positive and N may be positive or negative. For cleanApertureWidth and cleanApertureHeight, both N and D must be positive.
Fields§
§clean_aperture_width_n: u32§clean_aperture_width_d: u32§clean_aperture_height_n: u32§clean_aperture_height_d: u32§horiz_off_n: u32§horiz_off_d: u32§vert_off_n: u32§vert_off_d: u32Trait Implementations§
Source§impl Clone for CleanApertureBox
impl Clone for CleanApertureBox
Source§fn clone(&self) -> CleanApertureBox
fn clone(&self) -> CleanApertureBox
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 CleanApertureBox
Source§impl Debug for CleanApertureBox
impl Debug for CleanApertureBox
impl Eq for CleanApertureBox
Source§impl<'a> Parse<'a> for CleanApertureBox
impl<'a> Parse<'a> for CleanApertureBox
Source§impl PartialEq for CleanApertureBox
impl PartialEq for CleanApertureBox
Source§impl Serialize for CleanApertureBox
impl Serialize for CleanApertureBox
Source§impl Serialize for CleanApertureBox
impl Serialize for CleanApertureBox
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl StructuralPartialEq for CleanApertureBox
Auto Trait Implementations§
impl Freeze for CleanApertureBox
impl RefUnwindSafe for CleanApertureBox
impl Send for CleanApertureBox
impl Sync for CleanApertureBox
impl Unpin for CleanApertureBox
impl UnsafeUnpin for CleanApertureBox
impl UnwindSafe for CleanApertureBox
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