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

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§