[−][src]Struct xalloc::arena::sys::SysAllocator
UnsafeArena
implementation that relies on the system memory allocator.
Trait Implementations
impl<T> UnsafeArena<T> for SysAllocator
[src]
type Ptr = Ptr
Pointer type. Read more
fn insert(&mut self, x: T) -> Self::Ptr
[src]
unsafe fn get_unchecked(&self, ptr: &Self::Ptr) -> &T
[src]
unsafe fn get_unchecked_mut(&mut self, ptr: &Self::Ptr) -> &mut T
[src]
unsafe fn remove_unchecked(&mut self, ptr: &Self::Ptr) -> T
[src]
fn reserve(&mut self, _additional: usize)
[src]
Reserves capacity for at least additional
values to be inserted in the arena.
impl<T> UnsafeArenaWithMembershipCheck<T> for SysAllocator
[src]
unsafe fn contains_unchecked(&self, _ptr: &Self::Ptr) -> bool
[src]
impl Clone for SysAllocator
[src]
fn clone(&self) -> SysAllocator
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for SysAllocator
[src]
impl Debug for SysAllocator
[src]
Auto Trait Implementations
impl Send for SysAllocator
impl Sync for SysAllocator
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,