#[repr(C)]pub struct bpf_version {
pub bv_major: c_ushort,
pub bv_minor: c_ushort,
}Fields§
§bv_major: c_ushort§bv_minor: c_ushortTrait Implementations§
Source§impl Clone for bpf_version
impl Clone for bpf_version
Source§fn clone(&self) -> bpf_version
fn clone(&self) -> bpf_version
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 Debug for bpf_version
impl Debug for bpf_version
impl Copy for bpf_version
Auto Trait Implementations§
impl Freeze for bpf_version
impl RefUnwindSafe for bpf_version
impl Send for bpf_version
impl Sync for bpf_version
impl Unpin for bpf_version
impl UnwindSafe for bpf_version
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