[][src]Trait alloc_compose::Owns

pub trait Owns {
    fn owns(&self, memory: MemoryBlock) -> bool;
}

Trait to determine if a given MemoryBlock is owned by an allocator.

Required methods

fn owns(&self, memory: MemoryBlock) -> bool

Returns if the allocator owns the passed MemoryBlock.

Loading content...

Implementors

impl Owns for NullAlloc[src]

fn owns(&self, _memory: MemoryBlock) -> bool[src]

Will always return `false.

impl<'_> Owns for Region<'_>[src]

impl<A: Owns> Owns for MemoryMarker<A>[src]

impl<A: Owns, C: CallbackRef> Owns for Proxy<A, C>[src]

impl<A: Owns, const SIZE: usize> Owns for ChunkAlloc<A, SIZE>[src]

impl<Primary, Fallback> Owns for FallbackAlloc<Primary, Fallback> where
    Primary: Owns,
    Fallback: Owns
[src]

impl<Small, Large, const THRESHOLD: usize> Owns for SegregateAlloc<Small, Large, THRESHOLD> where
    Small: Owns,
    Large: Owns
[src]

Loading content...