Struct broot::git::TreeGitStatus
source · pub struct TreeGitStatus {
pub current_branch_name: Option<String>,
pub insertions: usize,
pub deletions: usize,
}
Expand description
Fields§
§current_branch_name: Option<String>
§insertions: usize
§deletions: usize
Implementations§
source§impl TreeGitStatus
impl TreeGitStatus
pub fn from(repo: &Repository) -> Option<Self>
Trait Implementations§
source§impl Clone for TreeGitStatus
impl Clone for TreeGitStatus
source§fn clone(&self) -> TreeGitStatus
fn clone(&self) -> TreeGitStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for TreeGitStatus
impl Send for TreeGitStatus
impl Sync for TreeGitStatus
impl Unpin for TreeGitStatus
impl UnwindSafe for TreeGitStatus
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