pub enum KittyImage {
TransmitData {
transmit: KittyImageTransmit,
verbosity: KittyImageVerbosity,
},
TransmitDataAndDisplay {
transmit: KittyImageTransmit,
placement: KittyImagePlacement,
verbosity: KittyImageVerbosity,
},
Display {
image_id: Option<u32>,
image_number: Option<u32>,
placement: KittyImagePlacement,
verbosity: KittyImageVerbosity,
},
Delete {
what: KittyImageDelete,
verbosity: KittyImageVerbosity,
},
Query {
transmit: KittyImageTransmit,
},
TransmitFrame {
transmit: KittyImageTransmit,
frame: KittyImageFrame,
verbosity: KittyImageVerbosity,
},
ComposeFrame {
frame: KittyImageFrameCompose,
verbosity: KittyImageVerbosity,
},
}
Variants
TransmitData
a=‘t’
TransmitDataAndDisplay
a=‘T’
Display
a=‘p’
Delete
a=‘d’
Query
Fields
transmit: KittyImageTransmit
a=‘q’
TransmitFrame
a=‘f’
ComposeFrame
a=‘c’
Implementations
sourceimpl KittyImage
impl KittyImage
Trait Implementations
sourceimpl Clone for KittyImage
impl Clone for KittyImage
sourcefn clone(&self) -> KittyImage
fn clone(&self) -> KittyImage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for KittyImage
impl Debug for KittyImage
sourceimpl Display for KittyImage
impl Display for KittyImage
sourceimpl PartialEq<KittyImage> for KittyImage
impl PartialEq<KittyImage> for KittyImage
sourcefn eq(&self, other: &KittyImage) -> bool
fn eq(&self, other: &KittyImage) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &KittyImage) -> bool
fn ne(&self, other: &KittyImage) -> bool
This method tests for !=
.
impl Eq for KittyImage
impl StructuralEq for KittyImage
impl StructuralPartialEq for KittyImage
Auto Trait Implementations
impl RefUnwindSafe for KittyImage
impl Send for KittyImage
impl Sync for KittyImage
impl Unpin for KittyImage
impl UnwindSafe for KittyImage
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