pub struct ProfileZeroSet {
pub name: String,
pub zero_distance: Option<f64>,
pub poi_up_mil: Option<f64>,
pub poi_right_mil: Option<f64>,
pub notes: Option<String>,
}Expand description
One named zero condition / per-load dial correction (MBA-1360).
zero_distance uses the SAME display-unit convention as ProfileData::zero_distance
(yards imperial / meters metric per the profile’s units field), and
ProfileData::converted_to (in main.rs) rescales it identically. poi_up_mil/poi_right_mil
are constant ANGULAR dial corrections in MILs (unit-invariant, untouched by
converted_to), ADDED to the dial outputs (elevation/windage adjustments) when the
set is selected — positive = dial UP/RIGHT more; a load that impacts high/right
relative to the master zero therefore stores negative values. This is deliberately
dial-side (a constant angular correction per the ticket), unlike the MBA-1359
linear-at-zero-range POI offsets, which bias the solved zero itself; the two compose.
Fields§
§name: String§zero_distance: Option<f64>§poi_up_mil: Option<f64>§poi_right_mil: Option<f64>§notes: Option<String>Trait Implementations§
Source§impl Clone for ProfileZeroSet
impl Clone for ProfileZeroSet
Source§fn clone(&self) -> ProfileZeroSet
fn clone(&self) -> ProfileZeroSet
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 ProfileZeroSet
impl Debug for ProfileZeroSet
Source§impl<'de> Deserialize<'de> for ProfileZeroSet
impl<'de> Deserialize<'de> for ProfileZeroSet
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 ProfileZeroSet
impl PartialEq for ProfileZeroSet
Source§impl Serialize for ProfileZeroSet
impl Serialize for ProfileZeroSet
impl StructuralPartialEq for ProfileZeroSet
Auto Trait Implementations§
impl Freeze for ProfileZeroSet
impl RefUnwindSafe for ProfileZeroSet
impl Send for ProfileZeroSet
impl Sync for ProfileZeroSet
impl Unpin for ProfileZeroSet
impl UnsafeUnpin for ProfileZeroSet
impl UnwindSafe for ProfileZeroSet
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.