pub enum Plugin {
CSharp(CSharpPlugin),
Make(MakePlugin),
Maven(MavenPlugin),
NoTests(NoTestsPlugin),
Python3(Python3Plugin),
R(RPlugin),
Ant(AntPlugin),
}Expand description
Enum containing variants for each language plugin.
Variants§
CSharp(CSharpPlugin)
Make(MakePlugin)
Maven(MavenPlugin)
NoTests(NoTestsPlugin)
Python3(Python3Plugin)
R(RPlugin)
Ant(AntPlugin)
Implementations§
Source§impl Plugin
impl Plugin
pub fn from_exercise(path: &Path) -> Result<Self, PluginError>
pub fn clean(&self, path: &Path) -> Result<(), TmcError>
pub fn scan_exercise( &self, path: &Path, exercise_name: String, ) -> Result<ExerciseDesc, TmcError>
pub fn run_tests(&self, path: &Path) -> Result<RunResult, TmcError>
pub fn check_code_style( &self, path: &Path, locale: Language, ) -> Result<Option<StyleValidationResult>, TmcError>
Auto Trait Implementations§
impl Freeze for Plugin
impl RefUnwindSafe for Plugin
impl !Send for Plugin
impl !Sync for Plugin
impl Unpin for Plugin
impl UnwindSafe for Plugin
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