Struct phper_alloc::EBox
source · [−]pub struct EBox<T: EAllocatable> { /* private fields */ }Expand description
The Box which use php emalloc and efree to manage memory.
TODO now feature allocator_api is still unstable, implement myself, use Box<T, Alloc> later.
Implementations
Trait Implementations
sourceimpl<T: EAllocatable> Deref for EBox<T>
impl<T: EAllocatable> Deref for EBox<T>
sourceimpl<T: EAllocatable> DerefMut for EBox<T>
impl<T: EAllocatable> DerefMut for EBox<T>
sourceimpl<T: EAllocatable> Drop for EBox<T>
impl<T: EAllocatable> Drop for EBox<T>
impl<T: EAllocatable> Send for EBox<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for EBox<T> where
T: RefUnwindSafe,
impl<T> !Sync for EBox<T>
impl<T> Unpin for EBox<T>
impl<T> UnwindSafe for EBox<T> where
T: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more