Struct timely::container::flatcontainer::impls::huffman_container::HuffmanContainer
source · pub struct HuffmanContainer<B>{ /* private fields */ }
Expand description
A container that contains slices [B]
as items.
Implementations§
Trait Implementations§
source§impl<B> Clone for HuffmanContainer<B>
impl<B> Clone for HuffmanContainer<B>
source§fn clone(&self) -> HuffmanContainer<B>
fn clone(&self) -> HuffmanContainer<B>
Returns a copy of the value. Read more
source§fn clone_from(&mut self, source: &HuffmanContainer<B>)
fn clone_from(&mut self, source: &HuffmanContainer<B>)
Performs copy-assignment from
source
. Read moresource§impl<B> Default for HuffmanContainer<B>
impl<B> Default for HuffmanContainer<B>
source§fn default() -> HuffmanContainer<B>
fn default() -> HuffmanContainer<B>
Returns the “default value” for a type. Read more
source§impl<B> Push<&[B]> for HuffmanContainer<B>
impl<B> Push<&[B]> for HuffmanContainer<B>
source§impl<B> Push<&Vec<B>> for HuffmanContainer<B>
impl<B> Push<&Vec<B>> for HuffmanContainer<B>
source§impl<B> Push<Vec<B>> for HuffmanContainer<B>
impl<B> Push<Vec<B>> for HuffmanContainer<B>
source§impl<'a, B> Push<Wrapped<'a, B>> for HuffmanContainer<B>
impl<'a, B> Push<Wrapped<'a, B>> for HuffmanContainer<B>
source§impl<B> Region for HuffmanContainer<B>
impl<B> Region for HuffmanContainer<B>
§type Index = (usize, usize)
type Index = (usize, usize)
The type to index into the container. Should be treated
as an opaque type, even if known.
source§fn merge_regions<'a>(
regions: impl Iterator<Item = &'a HuffmanContainer<B>> + Clone,
) -> HuffmanContainer<B>where
HuffmanContainer<B>: 'a,
fn merge_regions<'a>(
regions: impl Iterator<Item = &'a HuffmanContainer<B>> + Clone,
) -> HuffmanContainer<B>where
HuffmanContainer<B>: 'a,
Construct a region that can absorb the contents of
regions
in the future.source§fn index(
&self,
_: <HuffmanContainer<B> as Region>::Index,
) -> <HuffmanContainer<B> as Region>::ReadItem<'_>
fn index( &self, _: <HuffmanContainer<B> as Region>::Index, ) -> <HuffmanContainer<B> as Region>::ReadItem<'_>
Index into the container. The index must be obtained by
pushing data into the container.
source§fn reserve_regions<'a, I>(&mut self, _regions: I)
fn reserve_regions<'a, I>(&mut self, _regions: I)
Ensure that the region can absorb the items of
regions
without reallocationsource§fn reborrow<'b, 'a>(
item: <HuffmanContainer<B> as Region>::ReadItem<'a>,
) -> <HuffmanContainer<B> as Region>::ReadItem<'b>where
'a: 'b,
HuffmanContainer<B>: 'a,
fn reborrow<'b, 'a>(
item: <HuffmanContainer<B> as Region>::ReadItem<'a>,
) -> <HuffmanContainer<B> as Region>::ReadItem<'b>where
'a: 'b,
HuffmanContainer<B>: 'a,
Converts a read item into one with a narrower lifetime.
Auto Trait Implementations§
impl<B> Freeze for HuffmanContainer<B>where
B: Freeze,
impl<B> RefUnwindSafe for HuffmanContainer<B>where
B: RefUnwindSafe,
impl<B> Send for HuffmanContainer<B>where
B: Send,
impl<B> Sync for HuffmanContainer<B>where
B: Sync,
impl<B> Unpin for HuffmanContainer<B>where
B: Unpin,
impl<B> UnwindSafe for HuffmanContainer<B>where
B: RefUnwindSafe + 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
)