pub struct BtfMapDef {
pub btf_key_type_id: u32,
pub btf_value_type_id: u32,
/* private fields */
}
Expand description
BTF definition of a map
Fields§
§btf_key_type_id: u32
BTF type id of the map key
btf_value_type_id: u32
BTF type id of the map value
Trait Implementations§
impl Copy for BtfMapDef
impl Eq for BtfMapDef
impl StructuralPartialEq for BtfMapDef
Auto Trait Implementations§
impl Freeze for BtfMapDef
impl RefUnwindSafe for BtfMapDef
impl Send for BtfMapDef
impl Sync for BtfMapDef
impl Unpin for BtfMapDef
impl UnwindSafe for BtfMapDef
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.