Trait IntersectionObserverEntryMethods

Source
pub(crate) trait IntersectionObserverEntryMethods<D>
where D: DomTypes,
{ // Required methods fn Time(&self) -> Finite<f64>; fn GetRootBounds( &self, ) -> Option<Root<Dom<<D as DomTypes>::DOMRectReadOnly>>>; fn BoundingClientRect(&self) -> Root<Dom<<D as DomTypes>::DOMRectReadOnly>>; fn IntersectionRect(&self) -> Root<Dom<<D as DomTypes>::DOMRectReadOnly>>; fn IsIntersecting(&self) -> bool; fn IsVisible(&self) -> bool; fn IntersectionRatio(&self) -> Finite<f64>; fn Target(&self) -> Root<Dom<<D as DomTypes>::Element>>; fn Constructor( global: &<D as DomTypes>::Window, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, intersectionObserverEntryInit: &IntersectionObserverEntryInit<D>, ) -> Root<Dom<<D as DomTypes>::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§