pub(crate) struct ParseCtxt<'a> {
pub(crate) offset: BytePos,
pub(crate) ctx: SyntaxContext,
pub(crate) parent: Option<LocalDefId>,
pub(crate) sess: &'a mut ParseSess,
}
Fields§
§offset: BytePos
§ctx: SyntaxContext
§parent: Option<LocalDefId>
§sess: &'a mut ParseSess
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ParseCtxt<'a>
impl<'a> RefUnwindSafe for ParseCtxt<'a>
impl<'a> Send for ParseCtxt<'a>
impl<'a> Sync for ParseCtxt<'a>
impl<'a> Unpin for ParseCtxt<'a>
impl<'a> !UnwindSafe for ParseCtxt<'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