pub struct Vecs<TC, BC = Vec<u64>> {
pub bounds: BC,
pub values: TC,
}
Expand description
A stand-in for Vec<Vec<T>>
for complex T
.
Fields§
§bounds: BC
§values: TC
Implementations§
Trait Implementations§
Source§impl<BC: PushIndexAs<u64>, TC: Container> Container for Vecs<TC, BC>
impl<BC: PushIndexAs<u64>, TC: Container> Container for Vecs<TC, BC>
Source§type Ref<'a> = Slice<<TC as Container>::Borrowed<'a>>
where
TC: 'a
type Ref<'a> = Slice<<TC as Container>::Borrowed<'a>> where TC: 'a
For each lifetime, a reference with that lifetime. Read more
Source§type Borrowed<'a> = Vecs<<TC as Container>::Borrowed<'a>, <BC as Container>::Borrowed<'a>>
where
BC: 'a,
TC: 'a
type Borrowed<'a> = Vecs<<TC as Container>::Borrowed<'a>, <BC as Container>::Borrowed<'a>> where BC: 'a, TC: 'a
The type of a borrowed container. Read more
Source§fn borrow<'a>(&'a self) -> Self::Borrowed<'a>
fn borrow<'a>(&'a self) -> Self::Borrowed<'a>
Converts a reference to the type to a borrowed variant.
Source§fn reborrow<'b, 'a: 'b>(thing: Self::Borrowed<'a>) -> Self::Borrowed<'b>where
BC: 'a,
TC: 'a,
fn reborrow<'b, 'a: 'b>(thing: Self::Borrowed<'a>) -> Self::Borrowed<'b>where
BC: 'a,
TC: 'a,
Reborrows the borrowed type to a shorter lifetime. See
Columnar::reborrow
for details.Source§fn reborrow_ref<'b, 'a: 'b>(thing: Self::Ref<'a>) -> Self::Ref<'b>where
Self: 'a,
fn reborrow_ref<'b, 'a: 'b>(thing: Self::Ref<'a>) -> Self::Ref<'b>where
Self: 'a,
Reborrows the borrowed type to a shorter lifetime. See
Columnar::reborrow
for details.fn reserve_for<'a, I>(&mut self, selves: I)
Source§impl<'a, TC, BC: Len + IndexAs<u64>> Index for &'a Vecs<TC, BC>
impl<'a, TC, BC: Len + IndexAs<u64>> Index for &'a Vecs<TC, BC>
Source§impl<TC: Copy, BC: Len + IndexAs<u64>> Index for Vecs<TC, BC>
impl<TC: Copy, BC: Len + IndexAs<u64>> Index for Vecs<TC, BC>
Source§impl<I: IntoIterator, TC: Push<I::Item> + Len, BC: for<'a> Push<&'a u64>> Push<I> for Vecs<TC, BC>
impl<I: IntoIterator, TC: Push<I::Item> + Len, BC: for<'a> Push<&'a u64>> Push<I> for Vecs<TC, BC>
Source§impl<'a, TC: Container, BC: for<'b> Push<&'b u64>> Push<Slice<<TC as Container>::Borrowed<'a>>> for Vecs<TC, BC>
impl<'a, TC: Container, BC: for<'b> Push<&'b u64>> Push<Slice<<TC as Container>::Borrowed<'a>>> for Vecs<TC, BC>
impl<TC: Copy, BC: Copy> Copy for Vecs<TC, BC>
impl<TC, BC> StructuralPartialEq for Vecs<TC, BC>
Auto Trait Implementations§
impl<TC, BC> Freeze for Vecs<TC, BC>
impl<TC, BC> RefUnwindSafe for Vecs<TC, BC>where
BC: RefUnwindSafe,
TC: RefUnwindSafe,
impl<TC, BC> Send for Vecs<TC, BC>
impl<TC, BC> Sync for Vecs<TC, BC>
impl<TC, BC> Unpin for Vecs<TC, BC>
impl<TC, BC> UnwindSafe for Vecs<TC, BC>where
BC: UnwindSafe,
TC: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more