#[repr(C)]pub struct PerformanceCounterDescriptionARM<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub flags: PerformanceCounterDescriptionFlagsARM,
pub name: [c_char; 256],
pub _marker: PhantomData<&'a ()>,
}Expand description
Fields§
§s_type: StructureType§p_next: *mut c_void§flags: PerformanceCounterDescriptionFlagsARM§name: [c_char; 256]§_marker: PhantomData<&'a ()>Implementations§
Source§impl<'a> PerformanceCounterDescriptionARM<'a>
impl<'a> PerformanceCounterDescriptionARM<'a>
pub fn flags(self, flags: PerformanceCounterDescriptionFlagsARM) -> Self
pub fn name(self, name: &CStr) -> Result<Self, CStrTooLargeForStaticArray>
pub fn name_as_c_str(&self) -> Result<&CStr, FromBytesUntilNulError>
Trait Implementations§
Source§impl<'a> Clone for PerformanceCounterDescriptionARM<'a>
impl<'a> Clone for PerformanceCounterDescriptionARM<'a>
Source§fn clone(&self) -> PerformanceCounterDescriptionARM<'a>
fn clone(&self) -> PerformanceCounterDescriptionARM<'a>
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 PerformanceCounterDescriptionARM<'_>
Available on crate feature debug only.
impl Debug for PerformanceCounterDescriptionARM<'_>
Available on crate feature
debug only.Source§impl Default for PerformanceCounterDescriptionARM<'_>
impl Default for PerformanceCounterDescriptionARM<'_>
Source§impl<'a> TaggedStructure for PerformanceCounterDescriptionARM<'a>
impl<'a> TaggedStructure for PerformanceCounterDescriptionARM<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PERFORMANCE_COUNTER_DESCRIPTION_ARM
impl<'a> Copy for PerformanceCounterDescriptionARM<'a>
impl Send for PerformanceCounterDescriptionARM<'_>
impl Sync for PerformanceCounterDescriptionARM<'_>
Auto Trait Implementations§
impl<'a> Freeze for PerformanceCounterDescriptionARM<'a>
impl<'a> RefUnwindSafe for PerformanceCounterDescriptionARM<'a>
impl<'a> Unpin for PerformanceCounterDescriptionARM<'a>
impl<'a> UnwindSafe for PerformanceCounterDescriptionARM<'a>
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