Struct swh_graph::java_compat::fcl::FrontCodedList
source · pub struct FrontCodedList<D: AsRef<[u8]>, P: AsRef<[u8]>> { /* private fields */ }
Expand description
Front coded list, it takes a list of strings and encode them in a way that the common prefix between strings is encoded only once.
The encoding is done in blocks of k strings, the first string is encoded without compression, the other strings are encoded with the common prefix removed.
See the
it.unimi.dsi.fastutil.bytes.ByteArrayFrontCodedBigList
documentation
or the
implementation for details
Implementations§
source§impl FrontCodedList<Mmap, Mmap>
impl FrontCodedList<Mmap, Mmap>
Trait Implementations§
source§impl<D: Clone + AsRef<[u8]>, P: Clone + AsRef<[u8]>> Clone for FrontCodedList<D, P>
impl<D: Clone + AsRef<[u8]>, P: Clone + AsRef<[u8]>> Clone for FrontCodedList<D, P>
source§fn clone(&self) -> FrontCodedList<D, P>
fn clone(&self) -> FrontCodedList<D, P>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<D, P> RefUnwindSafe for FrontCodedList<D, P>where D: RefUnwindSafe, P: RefUnwindSafe,
impl<D, P> Send for FrontCodedList<D, P>where D: Send, P: Send,
impl<D, P> Sync for FrontCodedList<D, P>where D: Sync, P: Sync,
impl<D, P> Unpin for FrontCodedList<D, P>where D: Unpin, P: Unpin,
impl<D, P> UnwindSafe for FrontCodedList<D, P>where D: UnwindSafe, P: 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
§impl<T, U> CastableInto<U> for Twhere
U: CastableFrom<T>,
impl<T, U> CastableInto<U> for Twhere U: CastableFrom<T>,
§impl<T> DowncastableFrom<T> for T
impl<T> DowncastableFrom<T> for T
§fn downcast_from(value: T) -> T
fn downcast_from(value: T) -> T
Truncate the current UnsignedInt to a possibly smaller size
§impl<T, U> DowncastableInto<U> for Twhere
U: DowncastableFrom<T>,
impl<T, U> DowncastableInto<U> for Twhere U: DowncastableFrom<T>,
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere T: ?Sized,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> UpcastableFrom<T> for T
impl<T> UpcastableFrom<T> for T
§fn upcast_from(value: T) -> T
fn upcast_from(value: T) -> T
Extend the current UnsignedInt to a possibly bigger size.