pub struct Batch {
pub edition: Edition,
pub units: Vec<CrateUnit>,
}Expand description
One rustfmt invocation’s worth of work: a homogeneous-edition group of crates whose entry-point files are passed together to a single rustfmt process. With batch_size=1 this is equivalent to per-crate dispatch.
Fields§
§edition: Edition§units: Vec<CrateUnit>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Batch
impl RefUnwindSafe for Batch
impl Send for Batch
impl Sync for Batch
impl Unpin for Batch
impl UnsafeUnpin for Batch
impl UnwindSafe for Batch
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