#[repr(C, packed(1))]pub struct dvb_table_header {
pub table_id: u8,
pub __bindgen_anon_1: dvb_table_header__bindgen_ty_1,
pub id: u16,
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
pub section_id: u8,
pub last_section: u8,
}Fields§
§table_id: u8§__bindgen_anon_1: dvb_table_header__bindgen_ty_1§id: u16§_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>§section_id: u8§last_section: u8Implementations§
Source§impl dvb_table_header
impl dvb_table_header
pub fn current_next(&self) -> u8
pub fn set_current_next(&mut self, val: u8)
pub fn version(&self) -> u8
pub fn set_version(&mut self, val: u8)
pub fn one2(&self) -> u8
pub fn set_one2(&mut self, val: u8)
pub fn new_bitfield_1( current_next: u8, version: u8, one2: u8, ) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations§
Source§impl Clone for dvb_table_header
impl Clone for dvb_table_header
Source§fn clone(&self) -> dvb_table_header
fn clone(&self) -> dvb_table_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_table_header
Auto Trait Implementations§
impl Freeze for dvb_table_header
impl RefUnwindSafe for dvb_table_header
impl Send for dvb_table_header
impl Sync for dvb_table_header
impl Unpin for dvb_table_header
impl UnwindSafe for dvb_table_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