pub(crate) trait IntersectionObserverEntryMethods<D: DomTypes> {
    // Required methods
    fn Time(&self) -> Finite<f64>;
    fn GetRootBounds(&self) -> Option<DomRoot<D::DOMRectReadOnly>>;
    fn BoundingClientRect(&self) -> DomRoot<D::DOMRectReadOnly>;
    fn IntersectionRect(&self) -> DomRoot<D::DOMRectReadOnly>;
    fn IsIntersecting(&self) -> bool;
    fn IsVisible(&self) -> bool;
    fn IntersectionRatio(&self) -> Finite<f64>;
    fn Target(&self) -> DomRoot<D::Element>;
    fn Constructor(
        global: &D::Window,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        intersectionObserverEntryInit: &IntersectionObserverEntryInit<D>,
    ) -> DomRoot<D::IntersectionObserverEntry>;
}

Required Methods§

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§