#[repr(C)]pub struct KernelAllocationEvent {
pub duration: TimeSpan,
pub layout: Layout,
pub is_free: bool,
}
Expand description
Kernel allocation information.
Fields§
§duration: TimeSpan
§layout: Layout
§is_free: bool
Trait Implementations§
Source§impl Clone for KernelAllocationEvent
impl Clone for KernelAllocationEvent
Source§fn clone(&self) -> KernelAllocationEvent
fn clone(&self) -> KernelAllocationEvent
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 KernelAllocationEvent
impl Debug for KernelAllocationEvent
impl Copy for KernelAllocationEvent
Auto Trait Implementations§
impl Freeze for KernelAllocationEvent
impl ObjSafe for KernelAllocationEvent
impl RefUnwindSafe for KernelAllocationEvent
impl Send for KernelAllocationEvent
impl Sync for KernelAllocationEvent
impl Unpin for KernelAllocationEvent
impl UnwindSafe for KernelAllocationEvent
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