pub struct TermGraphics {
pub kitty: bool,
pub sixel: bool,
pub cell_px: Option<(u16, u16)>,
}Expand description
What the terminal supports, plus its cell pixel size when reported.
Fields§
§kitty: bool§sixel: bool§cell_px: Option<(u16, u16)>Trait Implementations§
Source§impl Clone for TermGraphics
impl Clone for TermGraphics
Source§fn clone(&self) -> TermGraphics
fn clone(&self) -> TermGraphics
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 TermGraphics
Source§impl Debug for TermGraphics
impl Debug for TermGraphics
Source§impl Default for TermGraphics
impl Default for TermGraphics
Source§fn default() -> TermGraphics
fn default() -> TermGraphics
Returns the “default value” for a type. Read more
impl Eq for TermGraphics
Source§impl PartialEq for TermGraphics
impl PartialEq for TermGraphics
Source§fn eq(&self, other: &TermGraphics) -> bool
fn eq(&self, other: &TermGraphics) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TermGraphics
Auto Trait Implementations§
impl Freeze for TermGraphics
impl RefUnwindSafe for TermGraphics
impl Send for TermGraphics
impl Sync for TermGraphics
impl Unpin for TermGraphics
impl UnsafeUnpin for TermGraphics
impl UnwindSafe for TermGraphics
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.