pub struct PesDataField<'a> {
pub subtitle_stream_id: u8,
pub segments: Vec<AnySegment<'a>>,
/* private fields */
}Expand description
The top-level PES data field structure for DVB subtitles.
Contains the data_identifier, subtitle_stream_id, one or more subtitling segments, and the end-of-PES marker.
Fields§
§subtitle_stream_id: u8The subtitle_stream_id (must be 0x00).
segments: Vec<AnySegment<'a>>The parsed subtitling segments.
Trait Implementations§
Source§impl<'a> Clone for PesDataField<'a>
impl<'a> Clone for PesDataField<'a>
Source§fn clone(&self) -> PesDataField<'a>
fn clone(&self) -> PesDataField<'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 PesDataField<'a>
impl<'a> Debug for PesDataField<'a>
impl<'a> Eq for PesDataField<'a>
Source§impl<'a> Parse<'a> for PesDataField<'a>
impl<'a> Parse<'a> for PesDataField<'a>
Source§impl<'a> PartialEq for PesDataField<'a>
impl<'a> PartialEq for PesDataField<'a>
Source§impl<'a> Serialize for PesDataField<'a>
Available on crate feature serde only.
impl<'a> Serialize for PesDataField<'a>
Available on crate feature
serde only.Source§impl Serialize for PesDataField<'_>
impl Serialize for PesDataField<'_>
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<'a> StructuralPartialEq for PesDataField<'a>
Auto Trait Implementations§
impl<'a> Freeze for PesDataField<'a>
impl<'a> RefUnwindSafe for PesDataField<'a>
impl<'a> Send for PesDataField<'a>
impl<'a> Sync for PesDataField<'a>
impl<'a> Unpin for PesDataField<'a>
impl<'a> UnsafeUnpin for PesDataField<'a>
impl<'a> UnwindSafe for PesDataField<'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