#[repr(C)]pub struct rte_higig2_ppt_type1 {
pub classification: u16,
pub resv: u16,
pub vid: u16,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>,
}Fields§
§classification: u16§resv: u16§vid: u16§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>Implementations§
Source§impl rte_higig2_ppt_type1
impl rte_higig2_ppt_type1
pub fn opcode(&self) -> u16
pub fn set_opcode(&mut self, val: u16)
pub fn resv1(&self) -> u16
pub fn set_resv1(&mut self, val: u16)
pub fn src_t(&self) -> u16
pub fn set_src_t(&mut self, val: u16)
pub fn pfm(&self) -> u16
pub fn set_pfm(&mut self, val: u16)
pub fn resv2(&self) -> u16
pub fn set_resv2(&mut self, val: u16)
pub fn hdr_ext_len(&self) -> u16
pub fn set_hdr_ext_len(&mut self, val: u16)
pub fn new_bitfield_1( opcode: u16, resv1: u16, src_t: u16, pfm: u16, resv2: u16, hdr_ext_len: u16, ) -> __BindgenBitfieldUnit<[u8; 2]>
Trait Implementations§
Source§impl Clone for rte_higig2_ppt_type1
impl Clone for rte_higig2_ppt_type1
Source§fn clone(&self) -> rte_higig2_ppt_type1
fn clone(&self) -> rte_higig2_ppt_type1
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 rte_higig2_ppt_type1
impl Debug for rte_higig2_ppt_type1
Source§impl Default for rte_higig2_ppt_type1
impl Default for rte_higig2_ppt_type1
Source§fn default() -> rte_higig2_ppt_type1
fn default() -> rte_higig2_ppt_type1
Returns the “default value” for a type. Read more
Source§impl PartialEq for rte_higig2_ppt_type1
impl PartialEq for rte_higig2_ppt_type1
impl Copy for rte_higig2_ppt_type1
impl StructuralPartialEq for rte_higig2_ppt_type1
Auto Trait Implementations§
impl Freeze for rte_higig2_ppt_type1
impl RefUnwindSafe for rte_higig2_ppt_type1
impl Send for rte_higig2_ppt_type1
impl Sync for rte_higig2_ppt_type1
impl Unpin for rte_higig2_ppt_type1
impl UnwindSafe for rte_higig2_ppt_type1
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