Struct worker::MinifyConfig [−][src]
Expand description
Configuration options for Cloudflare’s minification features: https://www.cloudflare.com/website-optimization/
Fields
js: bool
html: bool
css: bool
Trait Implementations
Performs the conversion.
type Anchor = Ref<'static, MinifyConfig>
type Anchor = Ref<'static, MinifyConfig>
The type that holds the reference to Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous. Read more
Recover a Self::Anchor
from Self::Abi
. Read more
type Anchor = RefMut<'static, MinifyConfig>
type Anchor = RefMut<'static, MinifyConfig>
Same as RefFromWasmAbi::Anchor
Same as RefFromWasmAbi::ref_from_abi
Auto Trait Implementations
impl RefUnwindSafe for MinifyConfig
impl Send for MinifyConfig
impl Sync for MinifyConfig
impl Unpin for MinifyConfig
impl UnwindSafe for MinifyConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
Same as IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more