Struct libbpf_sys::bpf_attr__bindgen_ty_2
source · [−]#[repr(C)]pub struct bpf_attr__bindgen_ty_2 {
pub map_fd: __u32,
pub __bindgen_padding_0: [u8; 4],
pub key: __u64,
pub __bindgen_anon_1: bpf_attr__bindgen_ty_2__bindgen_ty_1,
pub flags: __u64,
}
Fields
map_fd: __u32
__bindgen_padding_0: [u8; 4]
key: __u64
__bindgen_anon_1: bpf_attr__bindgen_ty_2__bindgen_ty_1
flags: __u64
Trait Implementations
sourceimpl Clone for bpf_attr__bindgen_ty_2
impl Clone for bpf_attr__bindgen_ty_2
sourcefn clone(&self) -> bpf_attr__bindgen_ty_2
fn clone(&self) -> bpf_attr__bindgen_ty_2
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for bpf_attr__bindgen_ty_2
impl Default for bpf_attr__bindgen_ty_2
impl Copy for bpf_attr__bindgen_ty_2
Auto Trait Implementations
impl RefUnwindSafe for bpf_attr__bindgen_ty_2
impl Send for bpf_attr__bindgen_ty_2
impl Sync for bpf_attr__bindgen_ty_2
impl Unpin for bpf_attr__bindgen_ty_2
impl UnwindSafe for bpf_attr__bindgen_ty_2
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more