[][src]Struct xalloc::arena::checked::CheckedArena

pub struct CheckedArena<T> { /* fields omitted */ }

Naïve memory-safe implementation of Arena.

For a test purpose only. Do not use this in production. It is really slow.


impl<T> CheckedArena<T>[src]

pub fn new() -> Self[src]

Construct a CheckedArena.

Trait Implementations

impl<T> Arena<T> for CheckedArena<T>[src]

impl<T: Debug> Debug for CheckedArena<T>[src]

impl<T> Default for CheckedArena<T>[src]

impl<T> SafeArena<T> for CheckedArena<T>[src]

impl<T> UnsafeArena<T> for CheckedArena<T>[src]

type Ptr = Ptr

Pointer type. Read more

impl<T> UnsafeArenaWithMembershipCheck<T> for CheckedArena<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for CheckedArena<T> where
    T: RefUnwindSafe

impl<T> Send for CheckedArena<T> where
    T: Send

impl<T> Sync for CheckedArena<T> where
    T: Sync

impl<T> Unpin for CheckedArena<T> where
    T: Unpin

impl<T> UnwindSafe for CheckedArena<T> where
    T: UnwindSafe

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.