Struct libbpf_sys::bpf_map_def [−][src]
#[repr(C)]pub struct bpf_map_def { pub type_: c_uint, pub key_size: c_uint, pub value_size: c_uint, pub max_entries: c_uint, pub map_flags: c_uint, }
Fields
type_: c_uintkey_size: c_uintvalue_size: c_uintmax_entries: c_uintmap_flags: c_uintTrait Implementations
impl Clone for bpf_map_def[src]
impl Clone for bpf_map_def[src]fn clone(&self) -> bpf_map_def[src]
fn clone(&self) -> bpf_map_def[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for bpf_map_def[src]
impl Debug for bpf_map_def[src]impl Default for bpf_map_def[src]
impl Default for bpf_map_def[src]fn default() -> bpf_map_def[src]
fn default() -> bpf_map_def[src]Returns the “default value” for a type. Read more
impl Copy for bpf_map_def[src]
Auto Trait Implementations
impl RefUnwindSafe for bpf_map_def
impl Send for bpf_map_def
impl Sync for bpf_map_def
impl Unpin for bpf_map_def
impl UnwindSafe for bpf_map_def
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more