pub struct ContextAccumulator {
pub context_id: &'static str,
pub state: Matrix3,
pub update_count: u64,
pub last_update_unix_ms: u64,
}Expand description
One context’s independent accumulator state.
Fields§
§context_id: &'static str§state: Matrix3§update_count: u64§last_update_unix_ms: u64Trait Implementations§
Source§impl Clone for ContextAccumulator
impl Clone for ContextAccumulator
Source§fn clone(&self) -> ContextAccumulator
fn clone(&self) -> ContextAccumulator
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 ContextAccumulator
Source§impl Debug for ContextAccumulator
impl Debug for ContextAccumulator
Source§impl PartialEq for ContextAccumulator
impl PartialEq for ContextAccumulator
Source§fn eq(&self, other: &ContextAccumulator) -> bool
fn eq(&self, other: &ContextAccumulator) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ContextAccumulator
Auto Trait Implementations§
impl Freeze for ContextAccumulator
impl RefUnwindSafe for ContextAccumulator
impl Send for ContextAccumulator
impl Sync for ContextAccumulator
impl Unpin for ContextAccumulator
impl UnsafeUnpin for ContextAccumulator
impl UnwindSafe for ContextAccumulator
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