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<'de, BC, VC> Deserialize<'de> for Strings<BC, VC>where
BC: Deserialize<'de>,
VC: Deserialize<'de>,
impl<'de, BC, VC> Deserialize<'de> for Strings<BC, VC>where
BC: Deserialize<'de>,
VC: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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