#[repr(C)]pub struct perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1 {
pub _bitfield_align_1: [u64; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8]>,
}
Fields§
§_bitfield_align_1: [u64; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 8]>
Implementations§
source§impl perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1
impl perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1
pub fn cap_bit0(&self) -> __u64
pub fn set_cap_bit0(&mut self, val: __u64)
pub fn cap_bit0_is_deprecated(&self) -> __u64
pub fn set_cap_bit0_is_deprecated(&mut self, val: __u64)
pub fn cap_user_rdpmc(&self) -> __u64
pub fn set_cap_user_rdpmc(&mut self, val: __u64)
pub fn cap_user_time(&self) -> __u64
pub fn set_cap_user_time(&mut self, val: __u64)
pub fn cap_user_time_zero(&self) -> __u64
pub fn set_cap_user_time_zero(&mut self, val: __u64)
pub fn cap_user_time_short(&self) -> __u64
pub fn set_cap_user_time_short(&mut self, val: __u64)
pub fn cap_____res(&self) -> __u64
pub fn set_cap_____res(&mut self, val: __u64)
pub fn new_bitfield_1( cap_bit0: __u64, cap_bit0_is_deprecated: __u64, cap_user_rdpmc: __u64, cap_user_time: __u64, cap_user_time_zero: __u64, cap_user_time_short: __u64, cap_____res: __u64 ) -> __BindgenBitfieldUnit<[u8; 8]>
Trait Implementations§
source§impl Clone for perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1
impl Clone for perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1
source§fn clone(&self) -> perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1
fn clone(&self) -> perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1
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 Default for perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1
impl Default for perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1
source§fn default() -> perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1
fn default() -> perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1
Returns the “default value” for a type. Read more
source§impl FromBytes for perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1
impl FromBytes for perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1
§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
Interprets the prefix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
Interprets the suffix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [Self], &mut [u8])>where
Self: Sized + IntoBytes + NoCell,
fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [Self], &mut [u8])>where
Self: Sized + IntoBytes + NoCell,
Interprets the prefix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read more§fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [u8], &mut [Self])>where
Self: Sized + IntoBytes + NoCell,
fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [u8], &mut [Self])>where
Self: Sized + IntoBytes + NoCell,
Interprets the suffix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read more§fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
source§impl FromZeros for perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1
impl FromZeros for perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1
source§impl IntoBytes for perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1where
[u64; 0]: IntoBytes,
__BindgenBitfieldUnit<[u8; 8]>: IntoBytes,
HasPadding<perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1, { _ }>: ShouldBe<false>,
impl IntoBytes for perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1where
[u64; 0]: IntoBytes,
__BindgenBitfieldUnit<[u8; 8]>: IntoBytes,
HasPadding<perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1, { _ }>: ShouldBe<false>,
impl Copy for perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1
Auto Trait Implementations§
impl Freeze for perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1
impl RefUnwindSafe for perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1
impl Send for perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1
impl Sync for perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1
impl Unpin for perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1
impl UnwindSafe for perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1
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