Struct worker::MinifyConfig [−][src]
Fields
js: bool
html: bool
css: bool
Trait Implementations
Performs the conversion.
Tests whether the argument is a “none” instance. If so it will be
deserialized as None
, and otherwise it will be passed to
FromWasmAbi
. Read more
Returns an ABI instance indicating “none”, which JS will interpret as
the None
branch of this option. Read more
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
pub unsafe fn ref_from_abi(
js: <MinifyConfig as RefFromWasmAbi>::Abi
) -> <MinifyConfig as RefFromWasmAbi>::Anchor
pub unsafe fn ref_from_abi(
js: <MinifyConfig as RefFromWasmAbi>::Abi
) -> <MinifyConfig as RefFromWasmAbi>::Anchor
Recover a Self::Anchor
from Self::Abi
. Read more
type Anchor = RefMut<'static, MinifyConfig>
type Anchor = RefMut<'static, MinifyConfig>
Same as RefFromWasmAbi::Anchor
pub unsafe fn ref_mut_from_abi(
js: <MinifyConfig as RefMutFromWasmAbi>::Abi
) -> <MinifyConfig as RefMutFromWasmAbi>::Anchor
pub unsafe fn ref_mut_from_abi(
js: <MinifyConfig as RefMutFromWasmAbi>::Abi
) -> <MinifyConfig as RefMutFromWasmAbi>::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