pub struct Reader<'k> {
pub k: &'k mut Kernel,
pub refs: FxHashMap<String, ExprId>,
pub parse_only: bool,
pub stats: Stats,
pub meter: Option<Box<dyn DeclMeter>>,
pub trust_before: u64,
pub fast_paths: bool,
/* private fields */
}Fields§
§k: &'k mut Kernel§refs: FxHashMap<String, ExprId>Named reference terms ({"ref":{"key":…,"value":…}}), for files of kernel-internal terms.
parse_only: boolRead and intern every record but check no declaration: a measurement of the reader alone.
stats: Stats§meter: Option<Box<dyn DeclMeter>>§trust_before: u64§fast_paths: boolRead the common record layouts byte for byte (the default). Off, every record goes through the general parser — which must build exactly the same store.
Implementations§
Auto Trait Implementations§
impl<'k> Freeze for Reader<'k>
impl<'k> !RefUnwindSafe for Reader<'k>
impl<'k> !Send for Reader<'k>
impl<'k> !Sync for Reader<'k>
impl<'k> Unpin for Reader<'k>
impl<'k> UnsafeUnpin for Reader<'k>
impl<'k> !UnwindSafe for Reader<'k>
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