#[repr(C)]pub struct VmPageCounts {
pub by_state: [RelaxedAtomicI64; 12],
}Expand description
Counts of VM pages by state.
Fields§
§by_state: [RelaxedAtomicI64; 12]See comment in percpu::vm_page_counts for why we used a RelaxedAtomic.
Trait Implementations§
Source§impl Debug for VmPageCounts
impl Debug for VmPageCounts
Source§impl Default for VmPageCounts
impl Default for VmPageCounts
Source§fn default() -> VmPageCounts
fn default() -> VmPageCounts
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for VmPageCounts
impl RefUnwindSafe for VmPageCounts
impl Send for VmPageCounts
impl Sync for VmPageCounts
impl Unpin for VmPageCounts
impl UnsafeUnpin for VmPageCounts
impl UnwindSafe for VmPageCounts
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Init<T> for T
impl<T> Init<T> for T
§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
§impl<T> PinInit<T> for T
impl<T> PinInit<T> for T
§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
Initializes
slot. Read more