#[non_exhaustive]pub struct CommonAttributes {
pub profiles: Option<String>,
pub width: Option<u32>,
pub height: Option<u32>,
pub sar: Option<String>,
pub frame_rate: Option<String>,
pub audio_sampling_rate: Option<String>,
pub mime_type: Option<String>,
pub codecs: Option<String>,
pub max_playout_rate: Option<f64>,
pub coding_dependency: Option<bool>,
}Expand description
The RepresentationBase attributes (5.3.7.2) that AdaptationSet and
Representation both carry and Representation inherits.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.profiles: Option<String>@profiles.
width: Option<u32>@width.
height: Option<u32>@height.
sar: Option<String>@sar.
frame_rate: Option<String>@frameRate (n or n/d).
audio_sampling_rate: Option<String>@audioSamplingRate (n or n n).
mime_type: Option<String>@mimeType.
codecs: Option<String>@codecs.
max_playout_rate: Option<f64>@maxPlayoutRate.
coding_dependency: Option<bool>@codingDependency.
Trait Implementations§
Source§impl Clone for CommonAttributes
impl Clone for CommonAttributes
Source§impl Debug for CommonAttributes
impl Debug for CommonAttributes
Source§impl Default for CommonAttributes
impl Default for CommonAttributes
Source§impl PartialEq for CommonAttributes
impl PartialEq for CommonAttributes
impl StructuralPartialEq for CommonAttributes
Auto Trait Implementations§
impl Forget for CommonAttributes
impl Freeze for CommonAttributes
impl Move for CommonAttributes
impl RefUnwindSafe for CommonAttributes
impl Send for CommonAttributes
impl Sync for CommonAttributes
impl Unpin for CommonAttributes
impl UnsafeUnpin for CommonAttributes
impl UnwindSafe for CommonAttributes
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