pub struct IdProfile { /* private fields */ }Expand description
A pre-computed set of IntEncoder candidates derived from a representative
sample of tiles.
Building a profile once from sample tiles avoids re-running
DataProfile::prune_candidates on every subsequent tile; the profile’s
candidate list is used directly in the competition step instead.
IdWidth is not stored because it is always re-derived from the actual
data of the tile being encoded.
Profiles from multiple samples are combined with IdProfile::merge, which
takes the union of both candidate sets.
Implementations§
Trait Implementations§
impl StructuralPartialEq for IdProfile
Auto Trait Implementations§
impl Freeze for IdProfile
impl RefUnwindSafe for IdProfile
impl Send for IdProfile
impl Sync for IdProfile
impl Unpin for IdProfile
impl UnsafeUnpin for IdProfile
impl UnwindSafe for IdProfile
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