[][src]Struct allocator_suite::allocators::global::memory_range::MemoryRange

pub struct MemoryRange {
    pub from: MemoryAddress,
    pub to: MemoryAddress,
}

Represents a memory range for which an allocator can allocate.

Fields

from: MemoryAddress

From (inclusive).

to: MemoryAddress

To (exclusive).

Methods

impl MemoryRange[src]

pub const fn new(from: MemoryAddress, to: MemoryAddress) -> Self[src]

Create a new instance.

Trait Implementations

impl Clone for MemoryRange[src]

impl Copy for MemoryRange[src]

impl Eq for MemoryRange[src]

impl Ord for MemoryRange[src]

impl PartialEq<MemoryRange> for MemoryRange[src]

impl PartialOrd<MemoryRange> for MemoryRange[src]

impl Debug for MemoryRange[src]

impl Hash for MemoryRange[src]

impl StructuralPartialEq for MemoryRange[src]

impl StructuralEq for MemoryRange[src]

Auto Trait Implementations

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

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

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

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