pub struct Local { /* private fields */ }Expand description
A Local represents a local branch, i.e. it is a reference under
refs/heads.
Note that if a Local is created from a git2::Reference then
any refs/namespaces will be stripped.
Implementations§
Trait Implementations§
Source§impl Ord for Local
impl Ord for Local
Source§impl PartialOrd for Local
impl PartialOrd for Local
impl Eq for Local
impl StructuralPartialEq for Local
Auto Trait Implementations§
impl Freeze for Local
impl RefUnwindSafe for Local
impl Send for Local
impl Sync for Local
impl Unpin for Local
impl UnsafeUnpin for Local
impl UnwindSafe for Local
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