pub struct Formatted {
pub changed: Vec<PathBuf>,
pub failed: Vec<FormatError>,
}Expand description
What formatting found: the files whose formatting differs (rewritten
unless check), and those that could not be formatted, each in the
order given.
Fields§
§changed: Vec<PathBuf>Differed, and were rewritten unless check.
failed: Vec<FormatError>Could not be formatted; left as they were.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Formatted
impl Freeze for Formatted
impl Move for Formatted
impl RefUnwindSafe for Formatted
impl Send for Formattedwhere
RawVecInner: Send,
impl Sync for Formattedwhere
RawVecInner: Sync,
impl Unpin for Formatted
impl UnsafeUnpin for Formattedwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<PathBuf>: UnsafeUnpin,
PhantomData<FormatError>: UnsafeUnpin,
impl UnwindSafe for Formattedwhere
RawVecInner: UnwindSafe,
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