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
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)