Struct inanis::cache::killers::KillersTableEntry
source · pub struct KillersTableEntry {
pub data: AtomicU16,
}
Fields§
§data: AtomicU16
Implementations§
source§impl KillersTableEntry
impl KillersTableEntry
sourcepub const fn new_const() -> Self
pub const fn new_const() -> Self
Constructs a new instance of KillersTableEntry with zeroed values.
sourcepub fn get_data(&self) -> KillersTableResult
pub fn get_data(&self) -> KillersTableResult
Loads and parses atomic value into a KillersTableEntry struct.
Trait Implementations§
source§impl Clone for KillersTableEntry
impl Clone for KillersTableEntry
source§fn clone(&self) -> Self
fn clone(&self) -> Self
Clones KillersTableEntry 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 KillersTableEntry
impl Default for KillersTableEntry
source§fn default() -> Self
fn default() -> Self
Constructs a default instance of KillersTableEntry with zeroed elements.
Auto Trait Implementations§
impl RefUnwindSafe for KillersTableEntry
impl Send for KillersTableEntry
impl Sync for KillersTableEntry
impl Unpin for KillersTableEntry
impl UnwindSafe for KillersTableEntry
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