#[repr(C)]pub struct bpf_spin_lock {
pub val: __u32,
}
Fields§
§val: __u32
Trait Implementations§
Source§impl Clone for bpf_spin_lock
impl Clone for bpf_spin_lock
Source§fn clone(&self) -> bpf_spin_lock
fn clone(&self) -> bpf_spin_lock
Returns a copy 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_spin_lock
impl Debug for bpf_spin_lock
Source§impl Default for bpf_spin_lock
impl Default for bpf_spin_lock
Source§fn default() -> bpf_spin_lock
fn default() -> bpf_spin_lock
Returns the “default value” for a type. Read more
impl Copy for bpf_spin_lock
Auto Trait Implementations§
impl Freeze for bpf_spin_lock
impl RefUnwindSafe for bpf_spin_lock
impl Send for bpf_spin_lock
impl Sync for bpf_spin_lock
impl Unpin for bpf_spin_lock
impl UnwindSafe for bpf_spin_lock
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)