Struct git2::CherrypickOptions [−][src]
Options to specify when cherry picking
Implementations
impl<'cb> CherrypickOptions<'cb>
[src]
pub fn new() -> CherrypickOptions<'cb>
[src]
Creates a default set of cherrypick options
pub fn mainline(&mut self, mainline: u32) -> &mut Self
[src]
Set the mainline value
For merge commits, the “mainline” is treated as the parent.
pub fn checkout_builder(&mut self, cb: CheckoutBuilder<'cb>) -> &mut Self
[src]
Set the checkout builder
pub fn merge_opts(&mut self, merge_opts: MergeOptions) -> &mut Self
[src]
Set the merge options
pub fn raw(&mut self) -> git_cherrypick_options
[src]
Obtain the raw struct
Auto Trait Implementations
impl<'cb> !RefUnwindSafe for CherrypickOptions<'cb>
impl<'cb> !Send for CherrypickOptions<'cb>
impl<'cb> !Sync for CherrypickOptions<'cb>
impl<'cb> Unpin for CherrypickOptions<'cb>
impl<'cb> !UnwindSafe for CherrypickOptions<'cb>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,