pub struct FileAppendFixer { /* private fields */ }Expand description
Appends source content to the end of each violating file.
Paired with file_content_matches / file_footer when the
required content is satisfied by the appended bytes.
Implementations§
Source§impl FileAppendFixer
impl FileAppendFixer
pub fn new(source: ContentSourceSpec) -> Self
Trait Implementations§
Source§impl Debug for FileAppendFixer
impl Debug for FileAppendFixer
Source§impl Fixer for FileAppendFixer
impl Fixer for FileAppendFixer
Auto Trait Implementations§
impl Freeze for FileAppendFixer
impl RefUnwindSafe for FileAppendFixer
impl Send for FileAppendFixer
impl Sync for FileAppendFixer
impl Unpin for FileAppendFixer
impl UnsafeUnpin for FileAppendFixer
impl UnwindSafe for FileAppendFixer
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more