#[non_exhaustive]pub struct LogicalDex {
pub name: String,
pub data: DexBytes,
pub state: Arc<SearchState>,
/* private fields */
}Expand description
One logical DEX of a cached entry with its lazily built locator tables. The tables are shared with the entry that replaces this one once its bytes are remapped from the disk cache (same bytes, so still valid).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringThe entry name, or entry!classesN.dex for a container’s logical DEX.
data: DexBytesIts bytes (the entry’s own when it is not a container).
state: Arc<SearchState>Locator tables built for it on first search.
Auto Trait Implementations§
impl !RefUnwindSafe for LogicalDex
impl !UnwindSafe for LogicalDex
impl Forget for LogicalDex
impl Freeze for LogicalDex
impl Move for LogicalDex
impl Send for LogicalDex
impl Sync for LogicalDex
impl Unpin for LogicalDex
impl UnsafeUnpin for LogicalDex
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