Struct libbpf_sys::bpf_insn
source · [−]#[repr(C)]pub struct bpf_insn {
pub code: __u8,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub off: __s16,
pub imm: __s32,
}
Fields
code: __u8
_bitfield_align_1: [u8; 0]
_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
off: __s16
imm: __s32
Implementations
Trait Implementations
impl Copy for bpf_insn
Auto Trait Implementations
impl RefUnwindSafe for bpf_insn
impl Send for bpf_insn
impl Sync for bpf_insn
impl Unpin for bpf_insn
impl UnwindSafe for bpf_insn
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more