pub struct ClangFormat<'a> {
pub program: &'a Path,
pub style: &'a Path,
pub env: &'a Env,
pub jobs: usize,
}Expand description
clang-format, and what it is run with.
Fields§
§program: &'a PathThe executable selection chose.
style: &'a PathThe .clang-format to format with, whatever is at the root.
env: &'a EnvThe environment it runs in.
jobs: usizeHow many files at once.
Auto Trait Implementations§
impl<'a> Forget for ClangFormat<'a>
impl<'a> Freeze for ClangFormat<'a>
impl<'a> Move for ClangFormat<'a>
impl<'a> RefUnwindSafe for ClangFormat<'a>
impl<'a> Send for ClangFormat<'a>
impl<'a> Sync for ClangFormat<'a>
impl<'a> Unpin for ClangFormat<'a>
impl<'a> UnsafeUnpin for ClangFormat<'a>
impl<'a> UnwindSafe for ClangFormat<'a>
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