pub struct Record {
pub latch: u32,
pub x_cm: f32,
pub y_cm: f32,
pub x_cos: f32,
pub y_cos: f32,
pub weight: f32,
pub zlast: Option<f32>,
/* private fields */
}
Fields§
§latch: u32
§x_cm: f32
§y_cm: f32
§x_cos: f32
§y_cos: f32
§weight: f32
§zlast: Option<f32>
Implementations§
Source§impl Record
impl Record
pub fn similar_to(&self, other: &Record) -> bool
pub fn bremsstrahlung_or_annihilation(&self) -> bool
pub fn bit_region(&self) -> u32
pub fn region_number(&self) -> u32
pub fn b29(&self) -> bool
pub fn charged(&self) -> bool
pub fn crossed_multiple(&self) -> bool
pub fn get_weight(&self) -> f32
pub fn set_weight(&mut self, new_weight: f32)
pub fn total_energy(&self) -> f32
pub fn z_positive(&self) -> bool
pub fn z_cos(&self) -> f32
pub fn first_scored_by_primary_history(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Record
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnwindSafe for Record
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