pub enum DisabledImageType {
Avif,
Jxl,
Webp,
}
Expand description
Enum of image types that can be disabled.
Variants§
Trait Implementations§
source§impl AsRef<str> for DisabledImageType
impl AsRef<str> for DisabledImageType
source§impl Clone for DisabledImageType
impl Clone for DisabledImageType
source§fn clone(&self) -> DisabledImageType
fn clone(&self) -> DisabledImageType
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 DisabledImageType
impl Debug for DisabledImageType
source§impl<'de> Deserialize<'de> for DisabledImageType
impl<'de> Deserialize<'de> for DisabledImageType
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<DisabledImageType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<DisabledImageType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromStr for DisabledImageType
impl FromStr for DisabledImageType
source§impl Hash for DisabledImageType
impl Hash for DisabledImageType
source§impl PartialEq for DisabledImageType
impl PartialEq for DisabledImageType
source§fn eq(&self, other: &DisabledImageType) -> bool
fn eq(&self, other: &DisabledImageType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DisabledImageType
impl Serialize for DisabledImageType
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for DisabledImageType
impl StructuralPartialEq for DisabledImageType
Auto Trait Implementations§
impl Freeze for DisabledImageType
impl RefUnwindSafe for DisabledImageType
impl Send for DisabledImageType
impl Sync for DisabledImageType
impl Unpin for DisabledImageType
impl UnwindSafe for DisabledImageType
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