Struct inanis::cache::history::HistoryTableEntry
source · pub struct HistoryTableEntry {
pub data: AtomicU32,
}
Fields§
§data: AtomicU32
Implementations§
source§impl HistoryTableEntry
impl HistoryTableEntry
sourcepub const fn new_const() -> Self
pub const fn new_const() -> Self
Constructs a new instance of HistoryTableEntry with zeroed values.
sourcepub fn get_data(&self) -> HistoryTableResult
pub fn get_data(&self) -> HistoryTableResult
Loads and parses atomic value into a HistoryTableEntry struct.
Trait Implementations§
source§impl Clone for HistoryTableEntry
impl Clone for HistoryTableEntry
source§fn clone(&self) -> Self
fn clone(&self) -> Self
Clones HistoryTableEntry by creating a new atomic (with the original value).
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for HistoryTableEntry
impl Default for HistoryTableEntry
source§fn default() -> Self
fn default() -> Self
Constructs a default instance of HistoryTableEntry with zeroed elements.
Auto Trait Implementations§
impl RefUnwindSafe for HistoryTableEntry
impl Send for HistoryTableEntry
impl Sync for HistoryTableEntry
impl Unpin for HistoryTableEntry
impl UnwindSafe for HistoryTableEntry
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