pub struct Processor { /* private fields */ }Implementations§
Source§impl Processor
impl Processor
pub fn new() -> Self
Sourcepub fn new_with_config(config_manager: &ConfigManager) -> Self
pub fn new_with_config(config_manager: &ConfigManager) -> Self
Create a new processor with configured languages from a configuration manager
Sourcepub fn process_file_with_config(
&mut self,
path: &Path,
config_manager: &ConfigManager,
cli_overrides: Option<&ProcessingOptions>,
) -> Result<ProcessedFile>
pub fn process_file_with_config( &mut self, path: &Path, config_manager: &ConfigManager, cli_overrides: Option<&ProcessingOptions>, ) -> Result<ProcessedFile>
Process a single file with configuration manager
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Processor
impl RefUnwindSafe for Processor
impl Send for Processor
impl Sync for Processor
impl Unpin for Processor
impl UnwindSafe for Processor
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