pub struct Vma {
pub start_addr: VirtAddr,
pub end_addr: VirtAddr,
pub flags: VmaFlags,
}Expand description
A type representing virtual memory areas
Important:
end_addris exclusive
Fields§
§start_addr: VirtAddr§end_addr: VirtAddr§flags: VmaFlagsImplementations§
Trait Implementations§
impl Eq for Vma
Source§impl Ord for Vma
impl Ord for Vma
Source§fn cmp(&self, other: &Self) -> Ordering
fn cmp(&self, other: &Self) -> Ordering
Compares only Vma::start_addr and no other property
1.21.0 (const: unstable)§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable)§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more