pub struct GeometryProfile { /* private fields */ }Expand description
A pre-computed set of per-stream 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
per-stream candidate lists are used directly in the competition step instead.
Profiles from multiple samples are combined with GeometryProfile::merge,
which takes the union of each stream’s candidate sets.
Implementations§
Source§impl GeometryProfile
impl GeometryProfile
Sourcepub fn from_sample(decoded: &GeometryValues) -> MltResult<Self>
pub fn from_sample(decoded: &GeometryValues) -> MltResult<Self>
Build a profile from a sample of decoded geometry.
Trait Implementations§
Source§impl Clone for GeometryProfile
impl Clone for GeometryProfile
Source§fn clone(&self) -> GeometryProfile
fn clone(&self) -> GeometryProfile
Returns a duplicate 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 moreSource§impl Debug for GeometryProfile
impl Debug for GeometryProfile
Source§impl PartialEq for GeometryProfile
impl PartialEq for GeometryProfile
impl StructuralPartialEq for GeometryProfile
Auto Trait Implementations§
impl Freeze for GeometryProfile
impl RefUnwindSafe for GeometryProfile
impl Send for GeometryProfile
impl Sync for GeometryProfile
impl Unpin for GeometryProfile
impl UnsafeUnpin for GeometryProfile
impl UnwindSafe for GeometryProfile
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