Struct web_sys::Csp [−][src]
#[repr(transparent)]pub struct Csp { /* fields omitted */ }
Expand description
The Csp dictionary.
This API requires the following crate features to be activated: Csp
Implementations
Construct a new Csp.
This API requires the following crate features to be activated: Csp
Change the base-uri field of this object.
This API requires the following crate features to be activated: Csp
Change the block-all-mixed-content field of this object.
This API requires the following crate features to be activated: Csp
Change the child-src field of this object.
This API requires the following crate features to be activated: Csp
Change the connect-src field of this object.
This API requires the following crate features to be activated: Csp
Change the default-src field of this object.
This API requires the following crate features to be activated: Csp
Change the font-src field of this object.
This API requires the following crate features to be activated: Csp
Change the form-action field of this object.
This API requires the following crate features to be activated: Csp
Change the frame-ancestors field of this object.
This API requires the following crate features to be activated: Csp
Change the frame-src field of this object.
This API requires the following crate features to be activated: Csp
Change the img-src field of this object.
This API requires the following crate features to be activated: Csp
Change the manifest-src field of this object.
This API requires the following crate features to be activated: Csp
Change the media-src field of this object.
This API requires the following crate features to be activated: Csp
Change the object-src field of this object.
This API requires the following crate features to be activated: Csp
Change the referrer field of this object.
This API requires the following crate features to be activated: Csp
Change the report-only field of this object.
This API requires the following crate features to be activated: Csp
Change the report-uri field of this object.
This API requires the following crate features to be activated: Csp
Change the require-sri-for field of this object.
This API requires the following crate features to be activated: Csp
Change the sandbox field of this object.
This API requires the following crate features to be activated: Csp
Change the script-src field of this object.
This API requires the following crate features to be activated: Csp
Change the style-src field of this object.
This API requires the following crate features to be activated: Csp
Change the upgrade-insecure-requests field of this object.
This API requires the following crate features to be activated: Csp
Change the worker-src field of this object.
This API requires the following crate features to be activated: Csp
Trait Implementations
Performs a dynamic instanceof check to see whether the JsValue
provided is an instance of this type. Read more
Performs a zero-cost unchecked conversion from a JsValue into an
instance of Self Read more
Performs a zero-cost unchecked conversion from a &JsValue into an
instance of &Self. Read more
Test whether this JS value has a type T. Read more
Performs a dynamic cast (checked at runtime) of this value into the
target type T. Read more
Performs a dynamic cast (checked at runtime) of this value into the
target type T. Read more
Performs a zero-cost unchecked cast into the specified type. Read more
Performs a zero-cost unchecked cast into a reference to the specified type. Read more
Test whether this JS value is an instance of the type T. Read more
Performs a dynamic check to see whether the JsValue provided
is a value of this type. Read more
type Abi = <JsValue as RefFromWasmAbi>::Abi
type Abi = <JsValue as RefFromWasmAbi>::Abi
The wasm ABI type references to Self are recovered from.
type Anchor = ManuallyDrop<Csp>
type Anchor = ManuallyDrop<Csp>
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
Auto Trait Implementations
impl RefUnwindSafe for Csp
impl UnwindSafe for Csp
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