pub trait DecompressibleNodeStore<IdN>: NodeStore<IdN> {
    // Provided methods
    fn decompress<'a, D: DecompressedSubtree<'a, Self::R<'a>>>(
        &'a self,
        id: &IdN
    ) -> (&'a Self, D::Out)
       where Self: Sized,
             Self::R<'a>: Stored<TreeId = IdN> { ... }
    fn decompress_pair<'a, D1, D2>(
        &'a self,
        id1: &IdN,
        id2: &IdN
    ) -> (&'a Self, (D1::Out, D2::Out))
       where Self: Sized,
             Self::R<'a>: Stored<TreeId = IdN>,
             D1: DecompressedSubtree<'a, Self::R<'a>>,
             D2: DecompressedSubtree<'a, Self::R<'a>> { ... }
}

Provided Methods§

source

fn decompress<'a, D: DecompressedSubtree<'a, Self::R<'a>>>( &'a self, id: &IdN ) -> (&'a Self, D::Out)where Self: Sized, Self::R<'a>: Stored<TreeId = IdN>,

source

fn decompress_pair<'a, D1, D2>( &'a self, id1: &IdN, id2: &IdN ) -> (&'a Self, (D1::Out, D2::Out))where Self: Sized, Self::R<'a>: Stored<TreeId = IdN>, D1: DecompressedSubtree<'a, Self::R<'a>>, D2: DecompressedSubtree<'a, Self::R<'a>>,

Implementors§

source§

impl<IdN, S> DecompressibleNodeStore<IdN> for Swhere S: NodeStore<IdN>,