pub struct Ac3Descriptor<'a> {
pub component_type: Option<u8>,
pub bsid: Option<u8>,
pub mainid: Option<u8>,
pub asvc: Option<u8>,
pub additional_info: &'a [u8],
}Expand description
AC-3 Descriptor.
Fields§
§component_type: Option<u8>AC-3 component_type (layout per Annex D).
bsid: Option<u8>Bit stream identification.
mainid: Option<u8>Main audio service id.
asvc: Option<u8>Associated service id.
additional_info: &'a [u8]Raw trailing additional_info bytes.
Trait Implementations§
Source§impl<'a> Clone for Ac3Descriptor<'a>
impl<'a> Clone for Ac3Descriptor<'a>
Source§fn clone(&self) -> Ac3Descriptor<'a>
fn clone(&self) -> Ac3Descriptor<'a>
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 moreSource§impl<'a> Debug for Ac3Descriptor<'a>
impl<'a> Debug for Ac3Descriptor<'a>
Source§impl<'a> Descriptor<'a> for Ac3Descriptor<'a>
impl<'a> Descriptor<'a> for Ac3Descriptor<'a>
Source§impl<'a> DescriptorDef<'a> for Ac3Descriptor<'a>
impl<'a> DescriptorDef<'a> for Ac3Descriptor<'a>
impl<'a> Eq for Ac3Descriptor<'a>
Source§impl<'a> From<Ac3Descriptor<'a>> for AnyDescriptor<'a>
impl<'a> From<Ac3Descriptor<'a>> for AnyDescriptor<'a>
Source§fn from(d: Ac3Descriptor<'a>) -> Self
fn from(d: Ac3Descriptor<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> Parse<'a> for Ac3Descriptor<'a>
impl<'a> Parse<'a> for Ac3Descriptor<'a>
Source§impl<'a> PartialEq for Ac3Descriptor<'a>
impl<'a> PartialEq for Ac3Descriptor<'a>
Source§fn eq(&self, other: &Ac3Descriptor<'a>) -> bool
fn eq(&self, other: &Ac3Descriptor<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for Ac3Descriptor<'_>
impl Serialize for Ac3Descriptor<'_>
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.Source§impl<'a> Serialize for Ac3Descriptor<'a>
impl<'a> Serialize for Ac3Descriptor<'a>
impl<'a> StructuralPartialEq for Ac3Descriptor<'a>
Source§impl<'a> Yokeable<'a> for Ac3Descriptor<'static>
impl<'a> Yokeable<'a> for Ac3Descriptor<'static>
Source§type Output = Ac3Descriptor<'a>
type Output = Ac3Descriptor<'a>
This type MUST be
Self with the 'static replaced with 'a, i.e. Self<'a>Source§fn transform_owned(self) -> Self::Output
fn transform_owned(self) -> Self::Output
Auto Trait Implementations§
impl<'a> Freeze for Ac3Descriptor<'a>
impl<'a> RefUnwindSafe for Ac3Descriptor<'a>
impl<'a> Send for Ac3Descriptor<'a>
impl<'a> Sync for Ac3Descriptor<'a>
impl<'a> Unpin for Ac3Descriptor<'a>
impl<'a> UnsafeUnpin for Ac3Descriptor<'a>
impl<'a> UnwindSafe for Ac3Descriptor<'a>
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