[][src]Struct dynvec::region::block::Block

pub struct Block<H> { /* fields omitted */ }

A contiguous region of the memory.

Implementations

impl<H> Block<H>[src]

pub fn new(length: usize) -> Self[src]

Creates a new Block that is length bytes long.

pub fn for_layouts(iter: impl IntoIterator<Item = Layout>) -> Self[src]

Creates a new empty Block that is large enough to store each layout.

Trait Implementations

impl<H> Region<H> for Block<H>[src]

type Pointers = IntoIter<*mut u8>

An iterator over all the allocations of this region.

Auto Trait Implementations

impl<H> RefUnwindSafe for Block<H> where
    H: RefUnwindSafe
[src]

impl<H> !Send for Block<H>[src]

impl<H> !Sync for Block<H>[src]

impl<H> Unpin for Block<H> where
    H: Unpin
[src]

impl<H> UnwindSafe for Block<H> where
    H: UnwindSafe
[src]

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<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.