pub struct Empties<CC = u64> {
pub count: CC,
pub empty: (),
}
Fields§
§count: CC
§empty: ()
Trait Implementations§
Source§impl Container for Empties
impl Container for Empties
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, CC> Index for &'a Empties<CC>
impl<'a, CC> Index for &'a Empties<CC>
Source§impl<CC> Index for Empties<CC>
impl<CC> Index for Empties<CC>
impl<CC: Copy> Copy for Empties<CC>
Auto Trait Implementations§
impl<CC> Freeze for Empties<CC>where
CC: Freeze,
impl<CC> RefUnwindSafe for Empties<CC>where
CC: RefUnwindSafe,
impl<CC> Send for Empties<CC>where
CC: Send,
impl<CC> Sync for Empties<CC>where
CC: Sync,
impl<CC> Unpin for Empties<CC>where
CC: Unpin,
impl<CC> UnwindSafe for Empties<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