pub fn from_either_with_capacity(
    cap: usize,
    make_array: impl FnOnce() -> ArrayVec<A>,
    make_vec: impl FnOnce() -> Vec<A::Item>,
  ) -> Self {
    if cap <= A::CAPACITY {
      TinyVec::Inline(make_array())
    } else {
      TinyVec::Heap(make_vec())
    }
  }
// Internal implementation details of `tiny_vec!`
Internal implementation details of `tiny_vec!`
Internal implementation details of ` tiny_vec! `
pub fn from_either_with_capacity(
    cap: usize,
    make_array: impl FnOnce() -> ArrayVec<A>,
    make_vec: impl FnOnce() -> Vec<A::Item>,
  ) -> Self {
    if cap <= A::CAPACITY {
      TinyVec::Inline(make_array())
    } else {
      TinyVec::Heap(make_vec())
    }
  }
pub fn from_either_with_capacity ( cap : usize , make_array : impl FnOnce ( ) -> ArrayVec < A > , make_vec : impl FnOnce ( ) -> Vec < A :: Item > , ) -> Self { if cap <= A :: CAPACITY { TinyVec :: Inline ( make_array ( ) ) } else { TinyVec :: Heap ( make_vec ( ) ) } }
Internal implementation details of `tiny_vec!`
Internal implementation details of ` tiny_vec! `
cap
usize
make_array
impl FnOnce() -> ArrayVec<A>
make_vec
impl FnOnce() -> Vec<A::Item>
cap
usize
make_array
impl FnOnce() -> ArrayVec<A>
make_vec
impl FnOnce() -> Vec<A::Item>