Trait idcontain::Flat [] [src]

pub trait Flat: Sized {
    type Element;
    fn new() -> Self;
    fn with_capacity(capacity: usize) -> Self;
    fn swap_remove(&mut self, index: usize) -> Option<Self::Element>;
    fn replace(
        &mut self,
        index: usize,
        element: Self::Element
    ) -> Result<Self::Element, Self::Element>; fn push(&mut self, element: Self::Element); }

Associated Types

Required Methods

Implementors