pub struct Scute { /* private fields */ }Implementations§
Source§impl Scute
impl Scute
pub fn new(interface: Interface) -> Self
pub fn cli() -> Self
pub fn cli_stdin() -> Self
pub fn mcp() -> Self
pub fn dependency(self, name: &str, version: &str) -> Self
pub fn dev_dependency(self, name: &str, version: &str) -> Self
pub fn source_file(self, name: &str, content: &str) -> Self
pub fn scute_config(self, yaml: &str) -> Self
Sourcepub fn cwd(self, subdir: &str) -> Self
pub fn cwd(self, subdir: &str) -> Self
Run the check from a subdirectory instead of the project root.
pub fn list_checks(self) -> ListChecksResult
pub fn check(self, args: &[&str]) -> CheckResult
Auto Trait Implementations§
impl Freeze for Scute
impl !RefUnwindSafe for Scute
impl !Send for Scute
impl !Sync for Scute
impl Unpin for Scute
impl UnsafeUnpin for Scute
impl !UnwindSafe for Scute
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