Struct broot::display::GitStatusDisplay
source · [−]pub struct GitStatusDisplay<'a, 's> {
pub width: usize,
/* private fields */
}
Fields
width: usize
Implementations
sourceimpl<'a, 's> GitStatusDisplay<'a, 's>
impl<'a, 's> GitStatusDisplay<'a, 's>
pub fn from(
status: &'a TreeGitStatus,
skin: &'s StyleMap,
available_width: usize
) -> Self
pub fn write<'w, W>(
&self,
cw: &mut CropWriter<'w, W>,
selected: bool
) -> Result<(), ProgramError>where
W: Write,
Auto Trait Implementations
impl<'a, 's> RefUnwindSafe for GitStatusDisplay<'a, 's>
impl<'a, 's> Send for GitStatusDisplay<'a, 's>
impl<'a, 's> Sync for GitStatusDisplay<'a, 's>
impl<'a, 's> Unpin for GitStatusDisplay<'a, 's>
impl<'a, 's> UnwindSafe for GitStatusDisplay<'a, 's>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more