pub struct BuiltIndex {
pub tiers: Vec<TierInfo>,
pub stars: Vec<IndexStar>,
pub star_dir: Vec<u32>,
pub keys: Vec<u64>,
pub quads: Vec<[u32; 4]>,
pub source: String,
pub source_stamp: SourceStamp,
}Expand description
An index assembled in memory, ready to write (the builder’s output).
Fields§
§tiers: Vec<TierInfo>Tiers, widest first.
stars: Vec<IndexStar>Stars, sorted by declination band then RA (see star_band).
star_dir: Vec<u32>First star of each declination band, star_bands + 1 entries.
keys: Vec<u64>Pattern keys, sorted within each tier.
quads: Vec<[u32; 4]>Pattern stars, parallel to keys.
source: StringSource database name.
source_stamp: SourceStampFingerprint of the source database’s files.
Implementations§
Source§impl BuiltIndex
impl BuiltIndex
Trait Implementations§
Source§impl Debug for BuiltIndex
impl Debug for BuiltIndex
Auto Trait Implementations§
impl Freeze for BuiltIndex
impl RefUnwindSafe for BuiltIndex
impl Send for BuiltIndex
impl Sync for BuiltIndex
impl Unpin for BuiltIndex
impl UnsafeUnpin for BuiltIndex
impl UnwindSafe for BuiltIndex
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