script_bindings::inheritance

Trait HasParent

Source
pub trait HasParent {
    type Parent;

    // Required method
    fn as_parent(&self) -> &Self::Parent;
}

Required Associated Types§

Required Methods§

Source

fn as_parent(&self) -> &Self::Parent

Implementors§

impl HasParent for Attr

impl HasParent for Blob

impl HasParent for Client

impl HasParent for Crypto

impl HasParent for CSS

impl HasParent for Event

impl HasParent for File

impl HasParent for Node

impl HasParent for Path2D

impl HasParent for Plugin

impl HasParent for Range

impl HasParent for Screen

impl HasParent for Text

impl HasParent for Touch

impl HasParent for URL

impl HasParent for VTTCue

impl HasParent for GPU

impl HasParent for XRHand

impl HasParent for XRPose

impl HasParent for XRRay

impl HasParent for XRTest

impl HasParent for XRView

impl HasParent for Window

impl HasParent for Worker