Struct fress::vector::guide::Guide [−][src]
pub struct Guide {
pub hash: u32,
pub is_compact_bit: u32,
pub count: u32,
pub prism: AnchoredLine,
pub root: AnchoredLine,
}
Expand description
The Guide structure is hydrated from its in-memory representation, 64 bits in length.
The top 32 bits contain the hash, the bottom 32 bits contain the collection’s count.
The highest order bit of the bottom 32 bits represent whether
the representation is compact (no info unit).
So a collection’s count resides in the 31 lowest order bits.
Top 32 bits [ Hash (32) ]
Bottom bits [ Compact? | Count (31) ]
Fields
hash: u32
is_compact_bit: u32
count: u32
prism: AnchoredLine
root: AnchoredLine
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Guide
impl UnwindSafe for Guide
Blanket Implementations
Mutably borrows from an owned value. Read more