Struct mp4::HevcConfig
source · pub struct HevcConfig {
pub width: u16,
pub height: u16,
}
Fields§
§width: u16
§height: u16
Trait Implementations§
source§impl Clone for HevcConfig
impl Clone for HevcConfig
source§fn clone(&self) -> HevcConfig
fn clone(&self) -> HevcConfig
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 HevcConfig
impl Debug for HevcConfig
source§impl Default for HevcConfig
impl Default for HevcConfig
source§fn default() -> HevcConfig
fn default() -> HevcConfig
Returns the “default value” for a type. Read more
source§impl From<HevcConfig> for TrackConfig
impl From<HevcConfig> for TrackConfig
source§fn from(hevc_conf: HevcConfig) -> Self
fn from(hevc_conf: HevcConfig) -> Self
Converts to this type from the input type.
source§impl PartialEq for HevcConfig
impl PartialEq for HevcConfig
source§fn eq(&self, other: &HevcConfig) -> bool
fn eq(&self, other: &HevcConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for HevcConfig
impl StructuralPartialEq for HevcConfig
Auto Trait Implementations§
impl Freeze for HevcConfig
impl RefUnwindSafe for HevcConfig
impl Send for HevcConfig
impl Sync for HevcConfig
impl Unpin for HevcConfig
impl UnwindSafe for HevcConfig
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