Struct gitpatcher::format_patches::PatchFormatter
source · [−]pub struct PatchFormatter<'repo> { /* private fields */ }
Implementations
sourceimpl<'repo> PatchFormatter<'repo>
impl<'repo> PatchFormatter<'repo>
pub fn new(
logger: Logger,
out_dir: PathBuf,
target: &'repo Repository,
base: Commit<'repo>,
opts: FormatOptions
) -> Result<Self, PatchFormatError>
pub fn generate_all(&mut self) -> Result<(), PatchFormatError>
Auto Trait Implementations
impl<'repo> RefUnwindSafe for PatchFormatter<'repo>
impl<'repo> !Send for PatchFormatter<'repo>
impl<'repo> !Sync for PatchFormatter<'repo>
impl<'repo> Unpin for PatchFormatter<'repo>
impl<'repo> UnwindSafe for PatchFormatter<'repo>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more