Skip to main content

PasswordCredentialMethods

pub trait PasswordCredentialMethods<D: DomTypes> {
    // Required methods
    fn Password(&self) -> USVString;
    fn Constructor(
        cx: &mut JSContext,
        global: &D::Window,
        proto: Option<HandleObject<'_>>,
        form: &D::HTMLFormElement,
    ) -> Fallible<DomRoot<D::PasswordCredential>>;
    fn Constructor_(
        cx: &mut JSContext,
        global: &D::Window,
        proto: Option<HandleObject<'_>>,
        data: &PasswordCredentialData,
    ) -> Fallible<DomRoot<D::PasswordCredential>>;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§