pub struct DataStreamAlignmentDescriptor {
pub alignment_type: u8,
}Expand description
Data Stream Alignment Descriptor.
Fields§
§alignment_type: u8Alignment type (see AlignmentType).
Trait Implementations§
Source§impl Clone for DataStreamAlignmentDescriptor
impl Clone for DataStreamAlignmentDescriptor
Source§fn clone(&self) -> DataStreamAlignmentDescriptor
fn clone(&self) -> DataStreamAlignmentDescriptor
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> Descriptor<'a> for DataStreamAlignmentDescriptor
impl<'a> Descriptor<'a> for DataStreamAlignmentDescriptor
Source§impl<'a> DescriptorDef<'a> for DataStreamAlignmentDescriptor
impl<'a> DescriptorDef<'a> for DataStreamAlignmentDescriptor
Source§impl<'de> Deserialize<'de> for DataStreamAlignmentDescriptor
impl<'de> Deserialize<'de> for DataStreamAlignmentDescriptor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DataStreamAlignmentDescriptor
Source§impl<'a> From<DataStreamAlignmentDescriptor> for AnyDescriptor<'a>
impl<'a> From<DataStreamAlignmentDescriptor> for AnyDescriptor<'a>
Source§fn from(d: DataStreamAlignmentDescriptor) -> Self
fn from(d: DataStreamAlignmentDescriptor) -> Self
Converts to this type from the input type.
Source§impl<'a> Parse<'a> for DataStreamAlignmentDescriptor
impl<'a> Parse<'a> for DataStreamAlignmentDescriptor
Source§impl PartialEq for DataStreamAlignmentDescriptor
impl PartialEq for DataStreamAlignmentDescriptor
Source§fn eq(&self, other: &DataStreamAlignmentDescriptor) -> bool
fn eq(&self, other: &DataStreamAlignmentDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DataStreamAlignmentDescriptor
impl Serialize for DataStreamAlignmentDescriptor
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 DataStreamAlignmentDescriptor
Auto Trait Implementations§
impl Freeze for DataStreamAlignmentDescriptor
impl RefUnwindSafe for DataStreamAlignmentDescriptor
impl Send for DataStreamAlignmentDescriptor
impl Sync for DataStreamAlignmentDescriptor
impl Unpin for DataStreamAlignmentDescriptor
impl UnsafeUnpin for DataStreamAlignmentDescriptor
impl UnwindSafe for DataStreamAlignmentDescriptor
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