pub struct ReviewEngine { /* private fields */ }Expand description
Review engine for generated code
Implementations§
Source§impl ReviewEngine
impl ReviewEngine
Sourcepub fn with_config(config: ReviewConfig) -> Self
pub fn with_config(config: ReviewConfig) -> Self
Creates a new ReviewEngine with custom configuration
Sourcepub fn review(
&self,
files: &[GeneratedFile],
spec: &Spec,
) -> Result<ReviewResult, GenerationError>
pub fn review( &self, files: &[GeneratedFile], spec: &Spec, ) -> Result<ReviewResult, GenerationError>
Trait Implementations§
Source§impl Clone for ReviewEngine
impl Clone for ReviewEngine
Source§fn clone(&self) -> ReviewEngine
fn clone(&self) -> ReviewEngine
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReviewEngine
impl Debug for ReviewEngine
Auto Trait Implementations§
impl Freeze for ReviewEngine
impl RefUnwindSafe for ReviewEngine
impl Send for ReviewEngine
impl Sync for ReviewEngine
impl Unpin for ReviewEngine
impl UnwindSafe for ReviewEngine
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