#[repr(C)]pub struct vnet_buffer_opaque_t {
pub sw_if_index: [u32_; 2],
pub l2_hdr_offset: i16_,
pub l3_hdr_offset: i16_,
pub l4_hdr_offset: i16_,
pub feature_arc_index: u8_,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_anon_1: vnet_buffer_opaque_t__bindgen_ty_1,
}Fields§
§sw_if_index: [u32_; 2]§l2_hdr_offset: i16_§l3_hdr_offset: i16_§l4_hdr_offset: i16_§feature_arc_index: u8_§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§__bindgen_anon_1: vnet_buffer_opaque_t__bindgen_ty_1Implementations§
Source§impl vnet_buffer_opaque_t
impl vnet_buffer_opaque_t
pub fn oflags(&self) -> vnet_buffer_oflags_t
pub fn set_oflags(&mut self, val: vnet_buffer_oflags_t)
pub unsafe fn oflags_raw(this: *const Self) -> vnet_buffer_oflags_t
pub unsafe fn set_oflags_raw(this: *mut Self, val: vnet_buffer_oflags_t)
pub fn new_bitfield_1( oflags: vnet_buffer_oflags_t, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for vnet_buffer_opaque_t
impl Clone for vnet_buffer_opaque_t
Source§fn clone(&self) -> vnet_buffer_opaque_t
fn clone(&self) -> vnet_buffer_opaque_t
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 Default for vnet_buffer_opaque_t
impl Default for vnet_buffer_opaque_t
impl Copy for vnet_buffer_opaque_t
Auto Trait Implementations§
impl Freeze for vnet_buffer_opaque_t
impl RefUnwindSafe for vnet_buffer_opaque_t
impl Send for vnet_buffer_opaque_t
impl Sync for vnet_buffer_opaque_t
impl Unpin for vnet_buffer_opaque_t
impl UnsafeUnpin for vnet_buffer_opaque_t
impl UnwindSafe for vnet_buffer_opaque_t
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