[][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]

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

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

Loading content...