#[repr(C)]pub struct MiRsLayoutEntry {
pub name: *const c_char,
pub value: usize,
}Expand description
One entry of the ABI layout table published by mi_rs_layout_table.
Fields§
§name: *const c_charNUL-terminated static key, e.g. sizeof:mi_stats_t or option:mi_option_prof.
value: usizeThe value the C compiler computed for that key.
Trait Implementations§
Source§impl Clone for MiRsLayoutEntry
impl Clone for MiRsLayoutEntry
Source§fn clone(&self) -> MiRsLayoutEntry
fn clone(&self) -> MiRsLayoutEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MiRsLayoutEntry
Auto Trait Implementations§
impl !Send for MiRsLayoutEntry
impl !Sync for MiRsLayoutEntry
impl Freeze for MiRsLayoutEntry
impl RefUnwindSafe for MiRsLayoutEntry
impl Unpin for MiRsLayoutEntry
impl UnsafeUnpin for MiRsLayoutEntry
impl UnwindSafe for MiRsLayoutEntry
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