[][src]Struct web_sys::Pbkdf2Params

#[repr(transparent)]
pub struct Pbkdf2Params { /* fields omitted */ }

The Pbkdf2Params dictionary

This API requires the following crate features to be activated: Pbkdf2Params

Methods

impl Pbkdf2Params[src]

pub fn new(
    name: &str,
    hash: &JsValue,
    iterations: u32,
    salt: &Object
) -> Pbkdf2Params
[src]

Construct a new Pbkdf2Params

This API requires the following crate features to be activated: Pbkdf2Params

pub fn name(&mut self, val: &str) -> &mut Self[src]

Configure the name field of this object

This API requires the following crate features to be activated: Pbkdf2Params

pub fn hash(&mut self, val: &JsValue) -> &mut Self[src]

Configure the hash field of this object

This API requires the following crate features to be activated: Pbkdf2Params

pub fn iterations(&mut self, val: u32) -> &mut Self[src]

Configure the iterations field of this object

This API requires the following crate features to be activated: Pbkdf2Params

pub fn salt(&mut self, val: &Object) -> &mut Self[src]

Configure the salt field of this object

This API requires the following crate features to be activated: Pbkdf2Params

Trait Implementations

impl AsRef<JsValue> for Pbkdf2Params[src]

impl From<Pbkdf2Params> for JsValue[src]

impl Clone for Pbkdf2Params[src]

impl Debug for Pbkdf2Params[src]

impl JsCast for Pbkdf2Params[src]

impl RefFromWasmAbi for Pbkdf2Params[src]

type Abi = <Object as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<Pbkdf2Params>

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

impl FromWasmAbi for Pbkdf2Params[src]

type Abi = <Object as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for Pbkdf2Params[src]

type Abi = <Object as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a Pbkdf2Params[src]

type Abi = <&'a Object as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl WasmDescribe for Pbkdf2Params[src]

impl OptionFromWasmAbi for Pbkdf2Params[src]

impl OptionIntoWasmAbi for Pbkdf2Params[src]

impl<'a> OptionIntoWasmAbi for &'a Pbkdf2Params[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi