pub enum ImageProtocol {
Ascii,
Kitty,
Sixel,
}Expand description
How images are rendered to the terminal. Ascii is the default (colored
ASCII / half-block art via image_render); Kitty / Sixel emit native
terminal-graphics escape blobs via image_protocol.
Variants§
Trait Implementations§
Source§impl Clone for ImageProtocol
impl Clone for ImageProtocol
Source§fn clone(&self) -> ImageProtocol
fn clone(&self) -> ImageProtocol
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ImageProtocol
Source§impl Debug for ImageProtocol
impl Debug for ImageProtocol
Source§impl Default for ImageProtocol
impl Default for ImageProtocol
Source§fn default() -> ImageProtocol
fn default() -> ImageProtocol
Returns the “default value” for a type. Read more
impl Eq for ImageProtocol
Source§impl PartialEq for ImageProtocol
impl PartialEq for ImageProtocol
Source§fn eq(&self, other: &ImageProtocol) -> bool
fn eq(&self, other: &ImageProtocol) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ImageProtocol
Auto Trait Implementations§
impl Freeze for ImageProtocol
impl RefUnwindSafe for ImageProtocol
impl Send for ImageProtocol
impl Sync for ImageProtocol
impl Unpin for ImageProtocol
impl UnsafeUnpin for ImageProtocol
impl UnwindSafe for ImageProtocol
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.