Struct broot::display::GitStatusDisplay
source · pub struct GitStatusDisplay<'a, 's> {
pub width: usize,
/* private fields */
}
Fields§
§width: usize
Implementations§
source§impl<'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>(
&self,
cw: &mut CropWriter<'_, 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§
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