pub struct SyntaxVerifier;Expand description
Verify that a Rust source file has valid syntax.
Uses the syn crate to parse the file as a Rust source file.
Analogous to SyntaxVerifier in Python (which uses ast.parse)
and TypeScript (which does a basic readability check).
Trait Implementations§
Source§impl Verifier for SyntaxVerifier
impl Verifier for SyntaxVerifier
Auto Trait Implementations§
impl Freeze for SyntaxVerifier
impl RefUnwindSafe for SyntaxVerifier
impl Send for SyntaxVerifier
impl Sync for SyntaxVerifier
impl Unpin for SyntaxVerifier
impl UnsafeUnpin for SyntaxVerifier
impl UnwindSafe for SyntaxVerifier
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