#[repr(C, packed(1))]pub struct dvb_ts_packet_header__bindgen_ty_2 {
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
}Fields§
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>Implementations§
Source§impl dvb_ts_packet_header__bindgen_ty_2
impl dvb_ts_packet_header__bindgen_ty_2
pub fn extension(&self) -> u8
pub fn set_extension(&mut self, val: u8)
pub fn private_data(&self) -> u8
pub fn set_private_data(&mut self, val: u8)
pub fn splicing_point(&self) -> u8
pub fn set_splicing_point(&mut self, val: u8)
pub fn OPCR(&self) -> u8
pub fn set_OPCR(&mut self, val: u8)
pub fn PCR(&self) -> u8
pub fn set_PCR(&mut self, val: u8)
pub fn priority(&self) -> u8
pub fn set_priority(&mut self, val: u8)
pub fn random_access(&self) -> u8
pub fn set_random_access(&mut self, val: u8)
pub fn discontinued(&self) -> u8
pub fn set_discontinued(&mut self, val: u8)
pub fn new_bitfield_1( extension: u8, private_data: u8, splicing_point: u8, OPCR: u8, PCR: u8, priority: u8, random_access: u8, discontinued: u8, ) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations§
Source§impl Clone for dvb_ts_packet_header__bindgen_ty_2
impl Clone for dvb_ts_packet_header__bindgen_ty_2
Source§fn clone(&self) -> dvb_ts_packet_header__bindgen_ty_2
fn clone(&self) -> dvb_ts_packet_header__bindgen_ty_2
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 moreimpl Copy for dvb_ts_packet_header__bindgen_ty_2
Auto Trait Implementations§
impl Freeze for dvb_ts_packet_header__bindgen_ty_2
impl RefUnwindSafe for dvb_ts_packet_header__bindgen_ty_2
impl Send for dvb_ts_packet_header__bindgen_ty_2
impl Sync for dvb_ts_packet_header__bindgen_ty_2
impl Unpin for dvb_ts_packet_header__bindgen_ty_2
impl UnsafeUnpin for dvb_ts_packet_header__bindgen_ty_2
impl UnwindSafe for dvb_ts_packet_header__bindgen_ty_2
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