Enum onefetch_image::ImageProtocol
source · pub enum ImageProtocol {
Kitty,
Sixel,
Iterm,
}
Variants§
Trait Implementations§
source§impl Clone for ImageProtocol
impl Clone for ImageProtocol
source§fn clone(&self) -> ImageProtocol
fn clone(&self) -> ImageProtocol
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ImageProtocol
impl Debug for ImageProtocol
source§impl PartialEq for ImageProtocol
impl PartialEq for ImageProtocol
source§fn eq(&self, other: &ImageProtocol) -> bool
fn eq(&self, other: &ImageProtocol) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ValueEnum for ImageProtocol
impl ValueEnum for ImageProtocol
impl Eq for ImageProtocol
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 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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more