pub struct PrecheckTick {
pub tick_id: u64,
pub prior_state: Matrix3,
pub reference_state: Matrix3,
pub left_normalization: [f64; 3],
pub right_normalization: [f64; 3],
pub alpha_t: f64,
pub context_known: bool,
pub forbidden_category_write: bool,
}Expand description
Inputs needed by the pre-update invalidity guard.
Fields§
§tick_id: u64§prior_state: Matrix3§reference_state: Matrix3§left_normalization: [f64; 3]§right_normalization: [f64; 3]§alpha_t: f64§context_known: bool§forbidden_category_write: boolTrait Implementations§
Source§impl Clone for PrecheckTick
impl Clone for PrecheckTick
Source§fn clone(&self) -> PrecheckTick
fn clone(&self) -> PrecheckTick
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 PrecheckTick
Source§impl Debug for PrecheckTick
impl Debug for PrecheckTick
Source§impl PartialEq for PrecheckTick
impl PartialEq for PrecheckTick
Source§fn eq(&self, other: &PrecheckTick) -> bool
fn eq(&self, other: &PrecheckTick) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PrecheckTick
Auto Trait Implementations§
impl Freeze for PrecheckTick
impl RefUnwindSafe for PrecheckTick
impl Send for PrecheckTick
impl Sync for PrecheckTick
impl Unpin for PrecheckTick
impl UnsafeUnpin for PrecheckTick
impl UnwindSafe for PrecheckTick
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