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

Required Methods§

Source

fn Password(&self) -> USVString

Source

fn Constructor( global: &D::Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, form: &D::HTMLFormElement, ) -> Fallible<DomRoot<D::PasswordCredential>>

Source

fn Constructor_( global: &D::Window, proto: Option<HandleObject<'_>>, can_gc: CanGc, data: &PasswordCredentialData, ) -> Fallible<DomRoot<D::PasswordCredential>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§