pub enum Portable {}Expand description
The Portable format is meant to be compatible with other roaring bitmap libraries, such as Go or Java.
Note despite the name, it is not fully portable: it depends on native endianness.
It’s defined here: https://github.com/RoaringBitmap/RoaringFormatSpec
Trait Implementations§
Source§impl Deserializer for Portable
impl Deserializer for Portable
Source§impl Deserializer for Portable
Available on crate feature alloc only.
impl Deserializer for Portable
Available on crate feature
alloc only.Source§impl Serializer for Portable
impl Serializer for Portable
Source§impl Serializer for Portable
impl Serializer for Portable
Source§impl Serializer for Portable
Available on crate feature alloc only.
impl Serializer for Portable
Available on crate feature
alloc only.Source§fn serialize_into_writer<W>(treemap: &Treemap, dst: W) -> Result<usize>where
W: Write,
Available on crate feature std only.
fn serialize_into_writer<W>(treemap: &Treemap, dst: W) -> Result<usize>where
W: Write,
std only.Serializes a Treemap to a writer in portable format.
See Treemap::serialize_into_writer for examples.
Source§fn serialize_into<'a>(treemap: &Treemap, dst: &'a mut Vec<u8>) -> &'a [u8] ⓘ
fn serialize_into<'a>(treemap: &Treemap, dst: &'a mut Vec<u8>) -> &'a [u8] ⓘ
Serializes a Treemap to a slice of bytes in portable format.
See Treemap::serialize_into for examples.
Source§fn get_serialized_size_in_bytes(treemap: &Treemap) -> usize
fn get_serialized_size_in_bytes(treemap: &Treemap) -> usize
Computes the serialized size in bytes of the Treemap in portable format.
See Treemap::get_serialized_size_in_bytes for examples.
impl Deserializer for Portable
Auto Trait Implementations§
impl Freeze for Portable
impl RefUnwindSafe for Portable
impl Send for Portable
impl Sync for Portable
impl Unpin for Portable
impl UnwindSafe for Portable
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