pub struct GitStatusItem {
pub x: char,
pub y: char,
pub path: String,
pub target_path: Option<String>,
}Fields§
§x: char§y: char§path: StringCould include “->” for symlinks
target_path: Option<String>Implementations§
Source§impl GitStatusItem
impl GitStatusItem
Sourcepub fn is_untracked(&self, paranoid: bool) -> bool
pub fn is_untracked(&self, paranoid: bool) -> bool
If paranoid is true, only returns true if both x and y are
‘?’, otherwise if either is.
Trait Implementations§
Source§impl Debug for GitStatusItem
impl Debug for GitStatusItem
Auto Trait Implementations§
impl Freeze for GitStatusItem
impl RefUnwindSafe for GitStatusItem
impl Send for GitStatusItem
impl Sync for GitStatusItem
impl Unpin for GitStatusItem
impl UnwindSafe for GitStatusItem
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