pub struct Lookbacks<TC, VC = Vec<u8>, CC = Vec<u64>, RC = Vec<u64>, WC = [u64; 2], const N: u8 = u8::MAX> {
pub inner: Results<TC, VC, CC, RC, WC>,
}Fields§
§inner: Results<TC, VC, CC, RC, WC>Ok(x) encodes a value, and Err(y) indicates a value y back.
Trait Implementations§
Source§impl<'a, TC: AsBytes<'a>, VC: AsBytes<'a>, CC: AsBytes<'a>, RC: AsBytes<'a>> AsBytes<'a> for Lookbacks<TC, VC, CC, RC, &'a [u64]>
impl<'a, TC: AsBytes<'a>, VC: AsBytes<'a>, CC: AsBytes<'a>, RC: AsBytes<'a>> AsBytes<'a> for Lookbacks<TC, VC, CC, RC, &'a [u64]>
Source§impl<TC: Borrow, const N: u8> Borrow for Lookbacks<TC, Vec<u8>, Vec<u64>, Vec<u64>, [u64; 2], N>
impl<TC: Borrow, const N: u8> Borrow for Lookbacks<TC, Vec<u8>, Vec<u64>, Vec<u64>, [u64; 2], N>
Source§type Ref<'a> = <TC as Borrow>::Ref<'a>
where
TC: 'a
type Ref<'a> = <TC as Borrow>::Ref<'a> where TC: 'a
For each lifetime, a reference with that lifetime. Read more
Source§type Borrowed<'a> = Lookbacks<<TC as Borrow>::Borrowed<'a>, &'a [u8], &'a [u64], &'a [u64], &'a [u64], N>
where
TC: 'a
type Borrowed<'a> = Lookbacks<<TC as Borrow>::Borrowed<'a>, &'a [u8], &'a [u64], &'a [u64], &'a [u64], N> where 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. Read more
Source§fn reborrow<'b, 'a: 'b>(thing: Self::Borrowed<'a>) -> Self::Borrowed<'b>where
TC: 'a,
fn reborrow<'b, 'a: 'b>(thing: Self::Borrowed<'a>) -> Self::Borrowed<'b>where
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.Source§impl<TC: Clear, const N: u8> Clear for Lookbacks<TC, Vec<u8>, Vec<u64>, Vec<u64>, [u64; 2], N>
impl<TC: Clear, const N: u8> Clear for Lookbacks<TC, Vec<u8>, Vec<u64>, Vec<u64>, [u64; 2], N>
Source§impl<TC: Clone, VC: Clone, CC: Clone, RC: Clone, WC: Clone, const N: u8> Clone for Lookbacks<TC, VC, CC, RC, WC, N>
impl<TC: Clone, VC: Clone, CC: Clone, RC: Clone, WC: Clone, const N: u8> Clone for Lookbacks<TC, VC, CC, RC, WC, N>
Source§impl<TC: Container, const N: u8> Container for Lookbacks<TC, Vec<u8>, Vec<u64>, Vec<u64>, [u64; 2], N>
impl<TC: Container, const N: u8> Container for Lookbacks<TC, Vec<u8>, Vec<u64>, Vec<u64>, [u64; 2], N>
fn reserve_for<'a, I>(&mut self, selves: I)
Source§fn with_capacity_for<'a, I>(selves: I) -> Self
fn with_capacity_for<'a, I>(selves: I) -> Self
Allocates an empty container that can be extended by
selves without reallocation. Read moreSource§impl<TC: Debug, VC: Debug, CC: Debug, RC: Debug, WC: Debug, const N: u8> Debug for Lookbacks<TC, VC, CC, RC, WC, N>
impl<TC: Debug, VC: Debug, CC: Debug, RC: Debug, WC: Debug, const N: u8> Debug for Lookbacks<TC, VC, CC, RC, WC, N>
Source§impl<TC: Default, VC: Default, CC: Default, RC: Default, WC: Default, const N: u8> Default for Lookbacks<TC, VC, CC, RC, WC, N>
impl<TC: Default, VC: Default, CC: Default, RC: Default, WC: Default, const N: u8> Default for Lookbacks<TC, VC, CC, RC, WC, N>
Source§impl<'a, TC: FromBytes<'a>, VC: FromBytes<'a>, CC: FromBytes<'a>, RC: FromBytes<'a>> FromBytes<'a> for Lookbacks<TC, VC, CC, RC, &'a [u64]>
impl<'a, TC: FromBytes<'a>, VC: FromBytes<'a>, CC: FromBytes<'a>, RC: FromBytes<'a>> FromBytes<'a> for Lookbacks<TC, VC, CC, RC, &'a [u64]>
Source§const SLICE_COUNT: usize = Results<TC, VC, CC, RC, &'a [u64]>::SLICE_COUNT
const SLICE_COUNT: usize = Results<TC, VC, CC, RC, &'a [u64]>::SLICE_COUNT
The number of byte slices this type consumes when reconstructed.
Source§fn from_bytes(bytes: &mut impl Iterator<Item = &'a [u8]>) -> Self
fn from_bytes(bytes: &mut impl Iterator<Item = &'a [u8]>) -> Self
Reconstructs
self from a sequence of correctly aligned and sized bytes slices. Read moreSource§fn from_store(store: &DecodedStore<'a>, offset: &mut usize) -> Self
fn from_store(store: &DecodedStore<'a>, offset: &mut usize) -> Self
Source§impl<'a, TC, const N: u8> Index for &'a Lookbacks<TC, Vec<u8>, Vec<u64>, Vec<u64>, [u64; 2], N>
impl<'a, TC, const N: u8> Index for &'a Lookbacks<TC, Vec<u8>, Vec<u64>, Vec<u64>, [u64; 2], N>
Source§impl<TC: Index, VC: IndexAs<u8>, CC: IndexAs<u64> + Len, RC: IndexAs<u64> + Len, WC: IndexAs<u64>, const N: u8> Index for Lookbacks<TC, VC, CC, RC, WC, N>
impl<TC: Index, VC: IndexAs<u8>, CC: IndexAs<u64> + Len, RC: IndexAs<u64> + Len, WC: IndexAs<u64>, const N: u8> Index for Lookbacks<TC, VC, CC, RC, WC, N>
Source§impl<TC, VC, CC, RC: Len, WC: IndexAs<u64>, const N: u8> Len for Lookbacks<TC, VC, CC, RC, WC, N>
impl<TC, VC, CC, RC: Len, WC: IndexAs<u64>, const N: u8> Len for Lookbacks<TC, VC, CC, RC, WC, N>
Source§impl<TC: PartialEq, VC: PartialEq, CC: PartialEq, RC: PartialEq, WC: PartialEq, const N: u8> PartialEq for Lookbacks<TC, VC, CC, RC, WC, N>
impl<TC: PartialEq, VC: PartialEq, CC: PartialEq, RC: PartialEq, WC: PartialEq, const N: u8> PartialEq for Lookbacks<TC, VC, CC, RC, WC, N>
Source§impl<T: PartialEq, TC: Push<T> + Len, VC: Push<u8>, const N: u8> Push<T> for Lookbacks<TC, VC, Vec<u64>, Vec<u64>, [u64; 2], N>
impl<T: PartialEq, TC: Push<T> + Len, VC: Push<u8>, const N: u8> Push<T> for Lookbacks<TC, VC, Vec<u64>, Vec<u64>, [u64; 2], N>
impl<TC: Copy, VC: Copy, CC: Copy, RC: Copy, WC: Copy, const N: u8> Copy for Lookbacks<TC, VC, CC, RC, WC, N>
impl<TC, VC, CC, RC, WC, const N: u8> StructuralPartialEq for Lookbacks<TC, VC, CC, RC, WC, N>
Auto Trait Implementations§
impl<TC, VC, CC, RC, WC, const N: u8> Freeze for Lookbacks<TC, VC, CC, RC, WC, N>
impl<TC, VC, CC, RC, WC, const N: u8> RefUnwindSafe for Lookbacks<TC, VC, CC, RC, WC, N>where
TC: RefUnwindSafe,
VC: RefUnwindSafe,
CC: RefUnwindSafe,
RC: RefUnwindSafe,
WC: RefUnwindSafe,
impl<TC, VC, CC, RC, WC, const N: u8> Send for Lookbacks<TC, VC, CC, RC, WC, N>
impl<TC, VC, CC, RC, WC, const N: u8> Sync for Lookbacks<TC, VC, CC, RC, WC, N>
impl<TC, VC, CC, RC, WC, const N: u8> Unpin for Lookbacks<TC, VC, CC, RC, WC, N>
impl<TC, VC, CC, RC, WC, const N: u8> UnsafeUnpin for Lookbacks<TC, VC, CC, RC, WC, N>
impl<TC, VC, CC, RC, WC, const N: u8> UnwindSafe for Lookbacks<TC, VC, CC, RC, WC, N>
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