pub struct AngularCorrection {
pub elevation_mil: f64,
pub windage_mil: f64,
}Expand description
A TRUE angular correction to deliver on target – the output of a solve, not yet
realized as any turret or reticle instruction. Positive elevation_mil is UP; positive
windage_mil is RIGHT. Never CF-scaled – see the module’s “CF rule” doc section.
Fields§
§elevation_mil: f64§windage_mil: f64Trait Implementations§
Source§impl Clone for AngularCorrection
impl Clone for AngularCorrection
Source§fn clone(&self) -> AngularCorrection
fn clone(&self) -> AngularCorrection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AngularCorrection
Source§impl Debug for AngularCorrection
impl Debug for AngularCorrection
Source§impl<'de> Deserialize<'de> for AngularCorrection
impl<'de> Deserialize<'de> for AngularCorrection
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AngularCorrection
impl PartialEq for AngularCorrection
Source§impl Serialize for AngularCorrection
impl Serialize for AngularCorrection
impl StructuralPartialEq for AngularCorrection
Auto Trait Implementations§
impl Freeze for AngularCorrection
impl RefUnwindSafe for AngularCorrection
impl Send for AngularCorrection
impl Sync for AngularCorrection
impl Unpin for AngularCorrection
impl UnsafeUnpin for AngularCorrection
impl UnwindSafe for AngularCorrection
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
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>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
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
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.