pub struct Fixeds<const K: u64, CC = u64> {
pub count: CC,
}
Expand description
An offset container that encodes a constant K
spacing.
Fields§
§count: CC
Trait Implementations§
Source§impl<const K: u64> Container for Fixeds<K>
impl<const K: u64> Container for Fixeds<K>
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
Self: 'a,
fn reborrow<'b, 'a: 'b>(thing: Self::Borrowed<'a>) -> Self::Borrowed<'b>where
Self: '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, const K: u64, CC> Index for &'a Fixeds<K, CC>
impl<'a, const K: u64, CC> Index for &'a Fixeds<K, CC>
Source§impl<const K: u64, CC> Index for Fixeds<K, CC>
impl<const K: u64, CC> Index for Fixeds<K, CC>
impl<const K: u64, CC: Copy> Copy for Fixeds<K, CC>
Auto Trait Implementations§
impl<const K: u64, CC> Freeze for Fixeds<K, CC>where
CC: Freeze,
impl<const K: u64, CC> RefUnwindSafe for Fixeds<K, CC>where
CC: RefUnwindSafe,
impl<const K: u64, CC> Send for Fixeds<K, CC>where
CC: Send,
impl<const K: u64, CC> Sync for Fixeds<K, CC>where
CC: Sync,
impl<const K: u64, CC> Unpin for Fixeds<K, CC>where
CC: Unpin,
impl<const K: u64, CC> UnwindSafe for Fixeds<K, CC>where
CC: 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