pub struct ReadCtx<'a> {
pub endian: Endian,
pub ref_types: RefTypes<'a>,
pub options: &'a ReadOptions,
pub meter: &'a Arc<Meter>,
}Expand description
What the reader needs besides the bytes and the tree.
Fields§
§endian: EndianThe file’s byte order.
ref_types: RefTypes<'a>For ReferencedObject data.
options: &'a ReadOptionsFloats and limits.
meter: &'a Arc<Meter>The input’s meter: every allocation of the value is charged here
first, and the Parsed keeps the charges (the object’s file’s
crate::files::SerializedFile::meter).
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ReadCtx<'a>
impl<'a> !UnwindSafe for ReadCtx<'a>
impl<'a> Forget for ReadCtx<'a>
impl<'a> Freeze for ReadCtx<'a>
impl<'a> Move for ReadCtx<'a>
impl<'a> Send for ReadCtx<'a>
impl<'a> Sync for ReadCtx<'a>
impl<'a> Unpin for ReadCtx<'a>
impl<'a> UnsafeUnpin for ReadCtx<'a>
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