pub struct Strings<BC = Vec<u64>, VC = Vec<u8>> {
pub bounds: BC,
pub values: VC,
}
Expand description
A stand-in for Vec<String>
.
Fields§
§bounds: BC
Bounds container; provides indexed access to offsets.
values: VC
Values container; provides slice access to bytes.
Trait Implementations§
Source§impl<BC: PushIndexAs<u64>> Container for Strings<BC, Vec<u8>>
impl<BC: PushIndexAs<u64>> Container for Strings<BC, Vec<u8>>
Source§type Borrowed<'a> = Strings<<BC as Container>::Borrowed<'a>, &'a [u8]>
where
BC: 'a
type Borrowed<'a> = Strings<<BC as Container>::Borrowed<'a>, &'a [u8]> where BC: '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<'c, 'a: 'c>(thing: Self::Borrowed<'a>) -> Self::Borrowed<'c>where
BC: 'a,
fn reborrow<'c, 'a: 'c>(thing: Self::Borrowed<'a>) -> Self::Borrowed<'c>where
BC: '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, BC: Len + IndexAs<u64>> Index for &'a Strings<BC, Vec<u8>>
impl<'a, BC: Len + IndexAs<u64>> Index for &'a Strings<BC, Vec<u8>>
Source§impl<'a, BC: Len + IndexAs<u64>> Index for Strings<BC, &'a [u8]>
impl<'a, BC: Len + IndexAs<u64>> Index for Strings<BC, &'a [u8]>
impl<BC: Copy, VC: Copy> Copy for Strings<BC, VC>
impl<BC, VC> StructuralPartialEq for Strings<BC, VC>
Auto Trait Implementations§
impl<BC, VC> Freeze for Strings<BC, VC>
impl<BC, VC> RefUnwindSafe for Strings<BC, VC>where
BC: RefUnwindSafe,
VC: RefUnwindSafe,
impl<BC, VC> Send for Strings<BC, VC>
impl<BC, VC> Sync for Strings<BC, VC>
impl<BC, VC> Unpin for Strings<BC, VC>
impl<BC, VC> UnwindSafe for Strings<BC, VC>where
BC: UnwindSafe,
VC: 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