[][src]Struct broot::kitty::KittyImageRenderer

pub struct KittyImageRenderer {
    pub transmission_medium: TransmissionMedium,
    // some fields omitted
}

the image renderer, with knowledge of the console cells dimensions, and built only on Kitty.

Fields

transmission_medium: TransmissionMedium

Implementations

impl KittyImageRenderer[src]

pub fn new() -> Option<Self>[src]

pub fn take_current_images(&mut self) -> Option<KittyImageSet>[src]

pub fn print(
    &mut self,
    w: &mut W,
    src: &DynamicImage,
    area: &Area
) -> Result<(), ProgramError>
[src]

pub fn erase(
    &mut self,
    w: &mut W,
    ids: KittyImageSet
) -> Result<(), ProgramError>
[src]

pub fn erase_all(&mut self, w: &mut W) -> Result<(), ProgramError>[src]

erase all kitty images, even the forgetted ones

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,