#[repr(C, packed(1))]pub struct dvb_ts_packet_header {
pub sync_byte: u8,
pub __bindgen_anon_1: dvb_ts_packet_header__bindgen_ty_1,
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
pub adaptation_field_length: u8,
pub __bindgen_anon_2: dvb_ts_packet_header__bindgen_ty_2,
}Fields§
§sync_byte: u8§__bindgen_anon_1: dvb_ts_packet_header__bindgen_ty_1§_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>§adaptation_field_length: u8§__bindgen_anon_2: dvb_ts_packet_header__bindgen_ty_2Implementations§
Source§impl dvb_ts_packet_header
impl dvb_ts_packet_header
pub fn continuity_counter(&self) -> u8
pub fn set_continuity_counter(&mut self, val: u8)
pub fn adaptation_field_control(&self) -> u8
pub fn set_adaptation_field_control(&mut self, val: u8)
pub fn transport_scrambling_control(&self) -> u8
pub fn set_transport_scrambling_control(&mut self, val: u8)
pub fn new_bitfield_1( continuity_counter: u8, adaptation_field_control: u8, transport_scrambling_control: u8, ) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations§
Source§impl Clone for dvb_ts_packet_header
impl Clone for dvb_ts_packet_header
Source§fn clone(&self) -> dvb_ts_packet_header
fn clone(&self) -> dvb_ts_packet_header
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 moreimpl Copy for dvb_ts_packet_header
Auto Trait Implementations§
impl Freeze for dvb_ts_packet_header
impl RefUnwindSafe for dvb_ts_packet_header
impl Send for dvb_ts_packet_header
impl Sync for dvb_ts_packet_header
impl Unpin for dvb_ts_packet_header
impl UnwindSafe for dvb_ts_packet_header
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