pub struct RebaseOperation<'rebase> { /* private fields */ }Expand description
A rebase operation
Describes a single instruction/operation to be performed during the rebase.
Implementations§
Source§impl<'rebase> RebaseOperation<'rebase>
impl<'rebase> RebaseOperation<'rebase>
Trait Implementations§
Source§impl<'rebase> Binding for RebaseOperation<'rebase>
impl<'rebase> Binding for RebaseOperation<'rebase>
Source§type Raw = *const git_rebase_operation
type Raw = *const git_rebase_operation
The raw type that allows you to interact with libgit2-sys.
Source§unsafe fn from_raw(raw: *const git_rebase_operation) -> RebaseOperation<'rebase>
unsafe fn from_raw(raw: *const git_rebase_operation) -> RebaseOperation<'rebase>
Build a git2 struct from its Binding::Raw value.
Source§fn raw(&self) -> *const git_rebase_operation
fn raw(&self) -> *const git_rebase_operation
Access the Binding::Raw value for a struct. Read more
Source§unsafe fn from_raw_opt<T>(raw: T) -> Option<Self>
unsafe fn from_raw_opt<T>(raw: T) -> Option<Self>
A null-handling version of Binding::from_raw. Read more
Auto Trait Implementations§
impl<'rebase> Freeze for RebaseOperation<'rebase>
impl<'rebase> RefUnwindSafe for RebaseOperation<'rebase>
impl<'rebase> !Send for RebaseOperation<'rebase>
impl<'rebase> !Sync for RebaseOperation<'rebase>
impl<'rebase> Unpin for RebaseOperation<'rebase>
impl<'rebase> UnsafeUnpin for RebaseOperation<'rebase>
impl<'rebase> UnwindSafe for RebaseOperation<'rebase>
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