[][src]Struct x86_64::structures::paging::page::PageRangeInclusive

#[repr(C)]pub struct PageRangeInclusive<S: PageSize = Size4KiB> {
    pub start: Page<S>,
    pub end: Page<S>,
}

A range of pages with inclusive upper bound.

Fields

start: Page<S>

The start of the range, inclusive.

end: Page<S>

The end of the range, inclusive.

Implementations

impl<S: PageSize> PageRangeInclusive<S>[src]

pub fn is_empty(&self) -> bool[src]

Returns wether this range contains no pages.

Trait Implementations

impl<S: Clone + PageSize> Clone for PageRangeInclusive<S>[src]

impl<S: Copy + PageSize> Copy for PageRangeInclusive<S>[src]

impl<S: PageSize> Debug for PageRangeInclusive<S>[src]

impl<S: Eq + PageSize> Eq for PageRangeInclusive<S>[src]

impl<S: PageSize> Iterator for PageRangeInclusive<S>[src]

type Item = Page<S>

The type of the elements being iterated over.

impl<S: PartialEq + PageSize> PartialEq<PageRangeInclusive<S>> for PageRangeInclusive<S>[src]

impl<S: PageSize> StructuralEq for PageRangeInclusive<S>[src]

impl<S: PageSize> StructuralPartialEq for PageRangeInclusive<S>[src]

Auto Trait Implementations

impl<S> Send for PageRangeInclusive<S> where
    S: Send

impl<S> Sync for PageRangeInclusive<S> where
    S: Sync

impl<S> Unpin for PageRangeInclusive<S> where
    S: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.