pub struct ParseCtx {
pub warnings: Vec<String>,
pub suppressed: usize,
/* private fields */
}Expand description
Parsing context tracking the current block hierarchy and diagnostic warnings.
Fields§
§warnings: Vec<String>Warnings recorded during parsing, prefixed with their block path.
suppressed: usizeNumber of warnings suppressed after reaching [MAX_WARNINGS].
Trait Implementations§
impl Eq for ParseCtx
impl StructuralPartialEq for ParseCtx
Auto Trait Implementations§
impl Freeze for ParseCtx
impl RefUnwindSafe for ParseCtx
impl Send for ParseCtx
impl Sync for ParseCtx
impl Unpin for ParseCtx
impl UnsafeUnpin for ParseCtx
impl UnwindSafe for ParseCtx
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.