pub struct CorrectionsV1 {
pub bc5d_table_path: Option<String>,
}Expand description
Offline correction sources for a solve (additive-optional).
bc5d_table_path names a caliber-specific BC5D correction table on the LOCAL
filesystem (bc5d_<caliber>.bin, the exact dual-CRC binary format the CLI’s
--bc-table-dir consumes; mobile apps download tables themselves and hand the
engine a path). The service CRC-verifies the file, generates the same
velocity-keyed BC segment ladder the CLI does for this load, applies the table’s
muzzle correction to the scalar BC as the interior-gap fallback, and solves BOTH
the zero search and the trajectory with that schedule. A table that carries no
correction for the load (every sampled cell ~= 1.0) leaves the request’s constant
BC in place. On builds without filesystem access (wasm32) supplying the field is
a structured invalid_value error, never a silent no-op.
Fields§
§bc5d_table_path: Option<String>Path to a BC5D .bin correction table on the local filesystem.
Trait Implementations§
Source§impl Clone for CorrectionsV1
impl Clone for CorrectionsV1
Source§fn clone(&self) -> CorrectionsV1
fn clone(&self) -> CorrectionsV1
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CorrectionsV1
impl Debug for CorrectionsV1
Source§impl<'de> Deserialize<'de> for CorrectionsV1
impl<'de> Deserialize<'de> for CorrectionsV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for CorrectionsV1
impl PartialEq for CorrectionsV1
Source§impl Serialize for CorrectionsV1
impl Serialize for CorrectionsV1
impl StructuralPartialEq for CorrectionsV1
Auto Trait Implementations§
impl Freeze for CorrectionsV1
impl RefUnwindSafe for CorrectionsV1
impl Send for CorrectionsV1
impl Sync for CorrectionsV1
impl Unpin for CorrectionsV1
impl UnsafeUnpin for CorrectionsV1
impl UnwindSafe for CorrectionsV1
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.