Enum matroska_demuxer::DisplayUnit
source · pub enum DisplayUnit {
Pixels,
Centimeters,
Inches,
DisplayAspectRatio,
Unknown,
}
Expand description
How DisplayWidth
& DisplayHeight
are interpreted.
Variants§
Pixels
In pixels.
Centimeters
In centimeters.
Inches
In inches.
DisplayAspectRatio
By using the aspect ratio.
Unknown
Unknown.
Trait Implementations§
source§impl Clone for DisplayUnit
impl Clone for DisplayUnit
source§fn clone(&self) -> DisplayUnit
fn clone(&self) -> DisplayUnit
Returns a copy 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 DisplayUnit
impl Debug for DisplayUnit
source§impl From<u64> for DisplayUnit
impl From<u64> for DisplayUnit
source§impl PartialEq<DisplayUnit> for DisplayUnit
impl PartialEq<DisplayUnit> for DisplayUnit
source§fn eq(&self, other: &DisplayUnit) -> bool
fn eq(&self, other: &DisplayUnit) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DisplayUnit
impl Eq for DisplayUnit
impl StructuralEq for DisplayUnit
impl StructuralPartialEq for DisplayUnit
Auto Trait Implementations§
impl RefUnwindSafe for DisplayUnit
impl Send for DisplayUnit
impl Sync for DisplayUnit
impl Unpin for DisplayUnit
impl UnwindSafe for DisplayUnit
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