pub struct ProcessedRef<'l, 'a, T, B> {
pub unprocessed: &'l Context,
pub processed: &'a Context<T, B>,
}Expand description
A borrowed active context paired with a borrow of the @context it was built
from.
The form document compaction takes its context in, since it only reads both
halves. The two lifetimes are independent: the original @context normally
outlives the active context borrowed from it.
Fields§
§unprocessed: &'l ContextThe context as it was written.
processed: &'a Context<T, B>The active context it processed into.
Implementations§
Source§impl<'l, 'a, T, B> ProcessedRef<'l, 'a, T, B>
impl<'l, 'a, T, B> ProcessedRef<'l, 'a, T, B>
Auto Trait Implementations§
impl<'l, 'a, T, B> !RefUnwindSafe for ProcessedRef<'l, 'a, T, B>
impl<'l, 'a, T, B> !UnwindSafe for ProcessedRef<'l, 'a, T, B>
impl<'l, 'a, T, B> Freeze for ProcessedRef<'l, 'a, T, B>
impl<'l, 'a, T, B> Send for ProcessedRef<'l, 'a, T, B>
impl<'l, 'a, T, B> Sync for ProcessedRef<'l, 'a, T, B>
impl<'l, 'a, T, B> Unpin for ProcessedRef<'l, 'a, T, B>
impl<'l, 'a, T, B> UnsafeUnpin for ProcessedRef<'l, 'a, T, B>where
&'a Context<T, B>: UnsafeUnpin,
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> BorrowUnordered for T
impl<T> BorrowUnordered for T
Source§fn as_unordered(&self) -> &Unordered<T>
fn as_unordered(&self) -> &Unordered<T>
Views this value as an
Unordered reference.