Struct broot::kitty::KittyManager
source · [−]pub struct KittyManager { /* private fields */ }
Implementations
sourceimpl KittyManager
impl KittyManager
sourcepub fn renderer_if_tested(&mut self) -> Option<&mut KittyImageRenderer>
pub fn renderer_if_tested(&mut self) -> Option<&mut KittyImageRenderer>
return the renderer if it’s already checked and enabled, none if it’s disabled or if it hasn’t been tested yet
pub fn renderer(&mut self) -> Option<&mut KittyImageRenderer>
pub fn keep(&mut self, kept_id: KittyImageId, drawing_count: usize)
pub fn try_print_image(
&mut self,
w: &mut W,
src: &DynamicImage,
area: &Area,
bg: Color,
drawing_count: usize
) -> Result<Option<KittyImageId>, ProgramError>
pub fn erase_images_before(
&mut self,
w: &mut W,
drawing_count: usize
) -> Result<(), ProgramError>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for KittyManager
impl Send for KittyManager
impl Sync for KittyManager
impl Unpin for KittyManager
impl UnwindSafe for KittyManager
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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