pub struct LogosDenseI64MapNoPresence { /* private fields */ }Expand description
The presence-elided sibling of LogosDenseI64Map, emitted ONLY when the
compiler additionally proves the get/contains key domain is a subset of a
CONTIGUOUSLY FULLY-COVERED insert range — i.e. every key the program reads was
definitely written first. With that proof the presence bit is invariably set,
so it is dropped: get is a bare Some(data[key - lo]) load, byte-identical
to a C array read, and no presence bitset is allocated. The gate forbids this
type for any map with a contains use (there is no way to answer membership
without presence), so contains_key/LogosContains are intentionally absent
— a generated contains on this type would fail to compile, surfacing a gate
bug loudly rather than silently miscompiling.
Implementations§
Trait Implementations§
Source§impl Clone for LogosDenseI64MapNoPresence
impl Clone for LogosDenseI64MapNoPresence
Source§fn clone(&self) -> LogosDenseI64MapNoPresence
fn clone(&self) -> LogosDenseI64MapNoPresence
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 LogosDenseI64MapNoPresence
impl Debug for LogosDenseI64MapNoPresence
Auto Trait Implementations§
impl Freeze for LogosDenseI64MapNoPresence
impl RefUnwindSafe for LogosDenseI64MapNoPresence
impl Send for LogosDenseI64MapNoPresence
impl Sync for LogosDenseI64MapNoPresence
impl Unpin for LogosDenseI64MapNoPresence
impl UnsafeUnpin for LogosDenseI64MapNoPresence
impl UnwindSafe for LogosDenseI64MapNoPresence
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