pub struct AdaptationFieldFlags(/* private fields */);Implementations§
Source§impl AdaptationFieldFlags
impl AdaptationFieldFlags
Sourcepub const fn discontinuity_indicator(&self) -> bool
pub const fn discontinuity_indicator(&self) -> bool
Bits: 7..8
Sourcepub const fn with_discontinuity_indicator_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_discontinuity_indicator_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 7..8
Sourcepub const fn with_discontinuity_indicator(self, value: bool) -> Self
pub const fn with_discontinuity_indicator(self, value: bool) -> Self
Bits: 7..8
Sourcepub const fn set_discontinuity_indicator(&mut self, value: bool)
pub const fn set_discontinuity_indicator(&mut self, value: bool)
Bits: 7..8
Sourcepub const fn set_discontinuity_indicator_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_discontinuity_indicator_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 7..8
Sourcepub const fn random_access_indicator(&self) -> bool
pub const fn random_access_indicator(&self) -> bool
Bits: 6..7
Sourcepub const fn with_random_access_indicator_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_random_access_indicator_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 6..7
Sourcepub const fn with_random_access_indicator(self, value: bool) -> Self
pub const fn with_random_access_indicator(self, value: bool) -> Self
Bits: 6..7
Sourcepub const fn set_random_access_indicator(&mut self, value: bool)
pub const fn set_random_access_indicator(&mut self, value: bool)
Bits: 6..7
Sourcepub const fn set_random_access_indicator_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_random_access_indicator_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 6..7
Sourcepub const fn elementary_stream_priority_indicator(&self) -> bool
pub const fn elementary_stream_priority_indicator(&self) -> bool
Bits: 5..6
Sourcepub const fn with_elementary_stream_priority_indicator_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_elementary_stream_priority_indicator_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 5..6
Sourcepub const fn with_elementary_stream_priority_indicator(
self,
value: bool,
) -> Self
pub const fn with_elementary_stream_priority_indicator( self, value: bool, ) -> Self
Bits: 5..6
Sourcepub const fn set_elementary_stream_priority_indicator(&mut self, value: bool)
pub const fn set_elementary_stream_priority_indicator(&mut self, value: bool)
Bits: 5..6
Sourcepub const fn set_elementary_stream_priority_indicator_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_elementary_stream_priority_indicator_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 5..6
Sourcepub const fn with_pcr_flag_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_pcr_flag_checked(self, value: bool) -> Result<Self, ()>
Bits: 4..5
Sourcepub const fn with_pcr_flag(self, value: bool) -> Self
pub const fn with_pcr_flag(self, value: bool) -> Self
Bits: 4..5
Sourcepub const fn set_pcr_flag(&mut self, value: bool)
pub const fn set_pcr_flag(&mut self, value: bool)
Bits: 4..5
Sourcepub const fn with_opcr_flag_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_opcr_flag_checked(self, value: bool) -> Result<Self, ()>
Bits: 3..4
Sourcepub const fn with_opcr_flag(self, value: bool) -> Self
pub const fn with_opcr_flag(self, value: bool) -> Self
Bits: 3..4
Sourcepub const fn set_opcr_flag(&mut self, value: bool)
pub const fn set_opcr_flag(&mut self, value: bool)
Bits: 3..4
Sourcepub const fn splicing_point_flag(&self) -> bool
pub const fn splicing_point_flag(&self) -> bool
Bits: 2..3
Sourcepub const fn with_splicing_point_flag_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_splicing_point_flag_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 2..3
Sourcepub const fn with_splicing_point_flag(self, value: bool) -> Self
pub const fn with_splicing_point_flag(self, value: bool) -> Self
Bits: 2..3
Sourcepub const fn set_splicing_point_flag(&mut self, value: bool)
pub const fn set_splicing_point_flag(&mut self, value: bool)
Bits: 2..3
Sourcepub const fn set_splicing_point_flag_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_splicing_point_flag_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 2..3
Sourcepub const fn transport_private_data_flag(&self) -> bool
pub const fn transport_private_data_flag(&self) -> bool
Bits: 1..2
Sourcepub const fn with_transport_private_data_flag_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_transport_private_data_flag_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 1..2
Sourcepub const fn with_transport_private_data_flag(self, value: bool) -> Self
pub const fn with_transport_private_data_flag(self, value: bool) -> Self
Bits: 1..2
Sourcepub const fn set_transport_private_data_flag(&mut self, value: bool)
pub const fn set_transport_private_data_flag(&mut self, value: bool)
Bits: 1..2
Sourcepub const fn set_transport_private_data_flag_checked(
&mut self,
value: bool,
) -> Result<(), ()>
pub const fn set_transport_private_data_flag_checked( &mut self, value: bool, ) -> Result<(), ()>
Bits: 1..2
Sourcepub const fn adaptation_field_extension_flag(&self) -> bool
pub const fn adaptation_field_extension_flag(&self) -> bool
Bits: 0..1
Sourcepub const fn with_adaptation_field_extension_flag_checked(
self,
value: bool,
) -> Result<Self, ()>
pub const fn with_adaptation_field_extension_flag_checked( self, value: bool, ) -> Result<Self, ()>
Bits: 0..1
Sourcepub const fn with_adaptation_field_extension_flag(self, value: bool) -> Self
pub const fn with_adaptation_field_extension_flag(self, value: bool) -> Self
Bits: 0..1
Sourcepub const fn set_adaptation_field_extension_flag(&mut self, value: bool)
pub const fn set_adaptation_field_extension_flag(&mut self, value: bool)
Bits: 0..1
Trait Implementations§
Source§impl Clone for AdaptationFieldFlags
impl Clone for AdaptationFieldFlags
Source§fn clone(&self) -> AdaptationFieldFlags
fn clone(&self) -> AdaptationFieldFlags
Returns a duplicate 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 AdaptationFieldFlags
impl Debug for AdaptationFieldFlags
Source§impl Default for AdaptationFieldFlags
impl Default for AdaptationFieldFlags
Source§impl From<AdaptationFieldFlags> for u8
impl From<AdaptationFieldFlags> for u8
Source§fn from(v: AdaptationFieldFlags) -> u8
fn from(v: AdaptationFieldFlags) -> u8
Converts to this type from the input type.
Source§impl From<u8> for AdaptationFieldFlags
impl From<u8> for AdaptationFieldFlags
impl Copy for AdaptationFieldFlags
Auto Trait Implementations§
impl Freeze for AdaptationFieldFlags
impl RefUnwindSafe for AdaptationFieldFlags
impl Send for AdaptationFieldFlags
impl Sync for AdaptationFieldFlags
impl Unpin for AdaptationFieldFlags
impl UnsafeUnpin for AdaptationFieldFlags
impl UnwindSafe for AdaptationFieldFlags
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