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 more