pub struct CacheTerm {
pub state: String,
pub kind: StateKind,
pub dtype: StateDtype,
pub units: u64,
pub bytes: u64,
pub host: bool,
}Expand description
2026-10-02: One sized cache declaration.
Fields§
§state: String2026-10-02: The declaration’s id (l0.gdn.prefix_h).
kind: StateKind2026-10-02: Its kind.
dtype: StateDtype2026-10-02: Its element type.
units: u642026-10-02: Units held.
bytes: u642026-10-02: Bytes held.
host: bool2026-10-02: Held in host memory.
Trait Implementations§
impl Eq for CacheTerm
impl StructuralPartialEq for CacheTerm
Auto Trait Implementations§
impl Freeze for CacheTerm
impl RefUnwindSafe for CacheTerm
impl Send for CacheTerm
impl Sync for CacheTerm
impl Unpin for CacheTerm
impl UnwindSafe for CacheTerm
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.