EnableOpt

Enumin image_optimizerfastly 0.13.1View source
pub enum EnableOpt {
Upscale,
}

Features that are disabled by default, but can be requested to be enabled.

Variants

Upscale

Allow images to be resized such that the output image's dimensions are larger than the source image.

Trait implementations

impl Clone for EnableOpt

fn clone(&self) -> Self

Parameters

self: &Self

Returns

Self

impl Debug for EnableOpt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Parameters

self: &Self
f: &mut $crate::fmt::Formatter

Returns

$crate::fmt::Result

impl Serialize for EnableOpt

serialize

View source
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where
__S: Serializer,

Parameters

self: &Self
__serializer: __S

Returns

_serde::__private228::Result<__S::Ok, __S::Error>

Auto trait implementations

Blanket implementations