#[repr(C)]pub struct perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1 {
pub _bindgen_align: [u64; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8]>,
}Fields§
§_bindgen_align: [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 unsafe fn cap_bit0_raw( this: *const perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1, ) -> u64
pub unsafe fn set_cap_bit0_raw( this: *mut perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1, val: u64, )
pub fn cap_bit0_is_deprecated(&self) -> u64
pub fn set_cap_bit0_is_deprecated(&mut self, val: u64)
pub unsafe fn cap_bit0_is_deprecated_raw( this: *const perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1, ) -> u64
pub unsafe fn set_cap_bit0_is_deprecated_raw( this: *mut perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1, val: u64, )
pub fn cap_user_rdpmc(&self) -> u64
pub fn set_cap_user_rdpmc(&mut self, val: u64)
pub unsafe fn cap_user_rdpmc_raw( this: *const perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1, ) -> u64
pub unsafe fn set_cap_user_rdpmc_raw( this: *mut perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1, val: u64, )
pub fn cap_user_time(&self) -> u64
pub fn set_cap_user_time(&mut self, val: u64)
pub unsafe fn cap_user_time_raw( this: *const perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1, ) -> u64
pub unsafe fn set_cap_user_time_raw( this: *mut perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1, val: u64, )
pub fn cap_user_time_zero(&self) -> u64
pub fn set_cap_user_time_zero(&mut self, val: u64)
pub unsafe fn cap_user_time_zero_raw( this: *const perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1, ) -> u64
pub unsafe fn set_cap_user_time_zero_raw( this: *mut perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1, val: u64, )
pub fn cap_user_time_short(&self) -> u64
pub fn set_cap_user_time_short(&mut self, val: u64)
pub unsafe fn cap_user_time_short_raw( this: *const perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1, ) -> u64
pub unsafe fn set_cap_user_time_short_raw( this: *mut perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1, val: u64, )
pub fn cap_____res(&self) -> u64
pub fn set_cap_____res(&mut self, val: u64)
pub unsafe fn cap_____res_raw( this: *const perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1, ) -> u64
pub unsafe fn set_cap_____res_raw( this: *mut perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1, 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 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 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 IntoBytes for perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1where
[u64; 0]: IntoBytes,
__BindgenBitfieldUnit<[u8; 8]>: IntoBytes,
(): PaddingFree<perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1, linux_uapi::::x86_64::{impl#3777}::{constant#2}>,
impl IntoBytes for perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1where
[u64; 0]: IntoBytes,
__BindgenBitfieldUnit<[u8; 8]>: IntoBytes,
(): PaddingFree<perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1, linux_uapi::::x86_64::{impl#3777}::{constant#2}>,
Source§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
Source§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
impl Copy for perf_event_mmap_page__bindgen_ty_1__bindgen_ty_1
impl Immutable 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more