#[repr(C)]pub struct MapInfo {
pub id: ObjID,
pub prot: Protections,
pub slot: usize,
pub flags: MapFlags,
}
Expand description
Information about an object mapping.
Fields§
§id: ObjID
The mapped object ID.
prot: Protections
The protections of the mapping.
slot: usize
The slot.
flags: MapFlags
The mapping flags.
Trait Implementations§
source§impl Ord for MapInfo
impl Ord for MapInfo
source§impl PartialOrd for MapInfo
impl PartialOrd for MapInfo
impl Copy for MapInfo
impl Eq for MapInfo
impl StructuralPartialEq for MapInfo
Auto Trait Implementations§
impl Freeze for MapInfo
impl ObjSafe for MapInfo
impl RefUnwindSafe for MapInfo
impl Send for MapInfo
impl Sync for MapInfo
impl Unpin for MapInfo
impl UnwindSafe for MapInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.