pub struct Parse { /* private fields */ }Expand description
Thread-safe parse result for watch files, suitable for use in Salsa databases.
This wrapper provides a thread-safe interface around the parsed watch file, storing either a line-based parse tree or the raw text for deb822 format. The underlying lossless parse trees (based on rowan’s GreenNode) are thread-safe.
Implementations§
Trait Implementations§
impl Eq for Parse
impl Send for Parse
impl StructuralPartialEq for Parse
impl Sync for Parse
Auto Trait Implementations§
impl Freeze for Parse
impl !RefUnwindSafe for Parse
impl Unpin for Parse
impl UnsafeUnpin for Parse
impl !UnwindSafe for Parse
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