Struct mpeg2ts_reader::packet::TransportScramblingControl
source · pub struct TransportScramblingControl(/* private fields */);
Expand description
Indicates content scrambling in use, if any.
Actual content scrambling schemes, are undefined in the main TS spec (left to be described by other specifications).
Implementations§
source§impl TransportScramblingControl
impl TransportScramblingControl
sourcepub fn is_scrambled(&self) -> bool
pub fn is_scrambled(&self) -> bool
If the transport_scrambling_control
field in the Transport Stream data has the value
00
, then return false
, returns true if transport_scrambling_control
has any other
values.
Trait Implementations§
source§impl Debug for TransportScramblingControl
impl Debug for TransportScramblingControl
source§impl PartialEq for TransportScramblingControl
impl PartialEq for TransportScramblingControl
source§fn eq(&self, other: &TransportScramblingControl) -> bool
fn eq(&self, other: &TransportScramblingControl) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TransportScramblingControl
impl StructuralPartialEq for TransportScramblingControl
Auto Trait Implementations§
impl RefUnwindSafe for TransportScramblingControl
impl Send for TransportScramblingControl
impl Sync for TransportScramblingControl
impl Unpin for TransportScramblingControl
impl UnwindSafe for TransportScramblingControl
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