pub struct FieldsChanged(pub u64);Expand description
Bitmask tracking which fields changed
Uses u64 to track up to 64 fields. For states with more fields,
enable the “wide-state” feature to use FixedBitSet instead.
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
Source§impl Clone for FieldsChanged
impl Clone for FieldsChanged
Source§fn clone(&self) -> FieldsChanged
fn clone(&self) -> FieldsChanged
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 moreSource§impl Debug for FieldsChanged
impl Debug for FieldsChanged
Source§impl Default for FieldsChanged
impl Default for FieldsChanged
Source§fn default() -> FieldsChanged
fn default() -> FieldsChanged
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FieldsChanged
impl RefUnwindSafe for FieldsChanged
impl Send for FieldsChanged
impl Sync for FieldsChanged
impl Unpin for FieldsChanged
impl UnsafeUnpin for FieldsChanged
impl UnwindSafe for FieldsChanged
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