#[repr(C)]pub struct Memdev {
pub has_id: bool,
pub id: *mut c_char,
pub size: u64,
pub merge: bool,
pub dump: bool,
pub prealloc: bool,
pub host_nodes: *mut uint16List,
pub policy: HostMemPolicy,
}
Fields§
§has_id: bool
§id: *mut c_char
§size: u64
§merge: bool
§dump: bool
§prealloc: bool
§host_nodes: *mut uint16List
§policy: HostMemPolicy
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Memdev
impl !Send for Memdev
impl !Sync for Memdev
impl Unpin for Memdev
impl UnwindSafe for Memdev
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