#[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
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